Skip to content

Commit

Permalink
Set VERSION env in a more reuseable manner
Browse files Browse the repository at this point in the history
Co-authored-by: Piotr Spieker <[email protected]>
  • Loading branch information
ll-nick and orzechow authored Nov 11, 2024
1 parent 148b9d1 commit 636940c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bump-version-and-create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Read version from file
run: |
# Read the version from the version file, only store the number (without the 'v')
INITIAL_VERSION=$(cat version | cut -d'v' -f2)
INITIAL_VERSION=$(source version && echo ${VERSION#v})
echo "Current version: $INITIAL_VERSION"
echo "INITIAL_VERSION=${INITIAL_VERSION}" >> $GITHUB_ENV
Expand Down

0 comments on commit 636940c

Please sign in to comment.