Skip to content

Commit

Permalink
Merge pull request #4329 from hosseinsh/fixing-version-defition-release
Browse files Browse the repository at this point in the history
Fix release workflow
  • Loading branch information
hosssha authored Feb 15, 2023
2 parents f5acf22 + 4c5b3e5 commit 2c62e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lemur-publish-release-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
# from refs/tags/v0.8.1 get 0.8.1
VERSION=$(echo $GITHUB_REF | sed 's#.*/v##')
PLACEHOLDER='__version__ = "develop"'
PLACEHOLDER='^__version__ =.*'
VERSION_FILE='lemur/__about__.py'
# in case placeholder is missing, exists with code 1 and github actions aborts the build
grep "$PLACEHOLDER" "$VERSION_FILE"
Expand Down

0 comments on commit 2c62e8c

Please sign in to comment.