Skip to content

Commit

Permalink
Fixed PACKAGE env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
coordt committed Dec 17, 2024
1 parent 56dfac0 commit 76c31c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,19 @@ jobs:
# git push
# git push --tags
echo "PACKAGE=true" >> $GITHUB_ENV
export PACKAGE=true
;;
dev)
bump-my-version bump --allow-dirty --verbose --no-commit --no-tag "$RELEASE_KIND"
echo "PACKAGE=true" >> $GITHUB_ENV
export PACKAGE=true
;;
*)
echo "PACKAGE=false" >> $GITHUB_ENV
export PACKAGE=false
esac
echo "package=${{ env.PACKAGE }}" >> $GITHUB_OUTPUT
echo "package=$PACKAGE" >> $GITHUB_OUTPUT
- name: Package and upload artifacts
if: ${{ env.PACKAGE == 'true' }}
Expand Down

0 comments on commit 76c31c4

Please sign in to comment.