fix(ci): dankness removed from homebrew CI (#3666)

fdm
This commit is contained in:
James Upjohn 2022-04-09 23:27:51 +12:00 committed by GitHub
parent 04c355f7e9
commit c6db023ee3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,8 +21,8 @@ jobs:
# Pulls out the version from the ref (e.g. refs/tags/v2.3.1 -> 2.3.1)
- name: 'Extract version from tag'
run: |
'STRIPPED_VERSION=$("refs/tags/$(C2_TAGGED_VERSION)" | sed "s/refs\/tags\/v//gm")'
'echo "C2_TAGGED_VERSION=$(STRIPPED_VERSION)" >> $GITHUB_ENV'
'STRIPPED_VERSION=$(echo "refs/tags/$C2_TAGGED_VERSION" | sed "s/refs\/tags\/v//gm")'
'echo "C2_TAGGED_VERSION=$STRIPPED_VERSION" >> $GITHUB_ENV'
- name: 'Execute ''brew bump-cask-pr'' with version'
run: 'brew bump-cask-pr --version $(C2_TAGGED_VERSION) $(C2_CASK_NAME)'
run: 'brew bump-cask-pr --version $C2_TAGGED_VERSION $C2_CASK_NAME'