1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-25 19:21:08 +00:00

ci: Use shell expansion to get the release version for brew

This commit is contained in:
Matan Kushner 2019-10-07 00:19:35 +09:00
parent 0f9b4ef603
commit ab5dae3d05
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4

View File

@ -160,8 +160,7 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- run: export COMMIT_TAG=$(git describe --tags)
- run: brew bump-formula-pr --url=https://github.com/starship/starship/archive/${COMMIT_TAG}.tar.gz --message="Automated release pull request using continuous integration." --no-browse -v starship --force
- run: brew bump-formula-pr --url=https://github.com/starship/starship/archive/$(git describe --tags).tar.gz --message="Automated release pull request using continuous integration." --no-browse -v starship --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}