Skip to content

Commit

Permalink
fix release naming
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsteccato committed Oct 16, 2023
1 parent fd24d19 commit cb055eb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ jobs:
# Update the version in the JSON using jq
jq --arg v "$NEW_VERSION" '.version = $v' package-info.json > temp.json && mv temp.json package-info.json
# Display the new version
cat package-info.json
# Extract the updated version
VERSION=$(jq -r '.version' package-info.json)
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Commit updated package-info.json
run: |
Expand Down Expand Up @@ -80,4 +81,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create auto-${{ steps.get-date.outputs.date }}-release ppooll.zip --title "Release $DATE.$COUNT" --notes "Automated release for ${{ steps.get-date.outputs.date }}"
gh release create $VERSION ppooll.zip --title "Release $VERSION" --notes "Automated release for $VERSION"

0 comments on commit cb055eb

Please sign in to comment.