Skip to content

Commit

Permalink
v0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
shoshta73 committed Dec 11, 2024
1 parent b542c7c commit 5deaf4d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Check version
env:
GITHUB_REF_NAME: ${{ github.ref_name }}
run: |
VERSION=$(echo "$GITHUB_REF_NAME" | sed 's/^v//')
CURR =$(cat pyproject.toml | grep ^version | sed 's/version = "\(.*\)"/\1/')
if [ "$VERSION" != "$CURR" ]; then
echo "Error: VERSION ($VERSION) and CURR ($CURR) do not match."
exit 1
else
echo "VERSION ($VERSION) matches CURR ($CURR). Proceeding."
fi
# - name: Check version
# env:
# GITHUB_REF_NAME: ${{ github.ref_name }}
# run: |
# VERSION=$(echo "$GITHUB_REF_NAME" | sed 's/^v//')
# CURR=$(printf "%s" "$(cat pyproject.toml | grep ^version | sed 's/version = "\(.*\)"/\1/')")
# if [ "$VERSION" != "$CURR" ]; then
# echo "Error: VERSION ($VERSION) and CURR ($CURR) do not match."
# exit 1
# else
# echo "VERSION ($VERSION) matches CURR ($CURR). Proceeding."
# fi

- name: Set up Python
uses: actions/setup-python@v3
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "jsonmaestro"
version = "0.0.2"
version = "0.0.3"
authors = [{ name = "Greg Bowne", email = "gbowne144@gmail.com" }]
description = "JSONMaestro is a powerful Python tool designed to clean, process, and optimize JSON-like files."
readme = "README.md"
Expand Down

0 comments on commit 5deaf4d

Please sign in to comment.