Skip to content

Commit

Permalink
Fixed bug with stripping GitHub action env. var.
Browse files Browse the repository at this point in the history
  • Loading branch information
philipstarkey committed Jan 18, 2020
1 parent 370d4ae commit 89109c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
pip install -r requirements.txt
- name: Get the version
id: get_version
run: echo ::set-env name=GHA_AUTOSCRUB_VERSION::${GITHUB_REF#refs/tags/v}
run: echo ::set-env name=GHA_AUTOSCRUB_VERSION::${GITHUB_REF#refs/tags/}
- name: Get the SHA1 of the git commit
id: get_hash
run: echo ::set-env name=GHA_AUTOSCRUB_GIT_COMMIT::${GITHUB_SHA}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


# base version
VERSION = '0.7.1'
VERSION = '0.7.2'
# version information generated by our GitHub Action (see .github/workflows/release.yml)
CURRENT_TAG = os.environ.get('GHA_AUTOSCRUB_VERSION')
CURRENT_GIT_COMMIT_HASH = os.environ.get('GHA_AUTOSCRUB_GIT_COMMIT')
Expand Down

0 comments on commit 89109c7

Please sign in to comment.