Skip to content

Commit

Permalink
Update version number in bin Fix #90
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHenryIE committed Mar 19, 2024
1 parent 4023e9c commit 3ad5c9d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ jobs:
- name: Install dependencies
run: composer install --no-dev --prefer-dist --no-progress

- name: "Edit `strauss/bin/strauss` to update the version number"
env:
CURRENT_RELEASE: ${{ github.event.release.tag_name }}
run: |
find bin -name 'strauss' -exec sed -i "s/}, '[[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*');/}, '$CURRENT_RELEASE');/" {} +
- name: Commit updated README.md
uses: stefanzweifel/git-auto-commit-action@v4.1.1
with:
branch: master
file_pattern: "bin/strauss"
commit_message: "🤖 Update version number in bin"

- name: Create .phar
run: |
wget -O phar-composer.phar https://github.com/clue/phar-composer/releases/download/v1.4.0/phar-composer-1.4.0.phar
Expand Down

0 comments on commit 3ad5c9d

Please sign in to comment.