mirror of
https://github.com/starship/starship.git
synced 2024-11-22 16:23:17 +01:00
ci: Use shell expansion to get the release version for brew
This commit is contained in:
parent
0f9b4ef603
commit
ab5dae3d05
3
.github/workflows/workflow.yml
vendored
3
.github/workflows/workflow.yml
vendored
@ -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 }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user