Skip to content

Commit

Permalink
First version of 'latest' release job using JReleaser
Browse files Browse the repository at this point in the history
- Fixed replacement of version (missing colon)
  • Loading branch information
Framstag committed Mar 25, 2023
1 parent e7e5956 commit 9d37f04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Set version
run: |
VERSION=${{ github.event.inputs.version }}
sed -i "s/^ *version: *'[0-9a-z.-]*', *$/ version: '${VERSION}'/g" meson.build
sed -i "s/^ *version: *'[0-9a-z.-]*', *$/ version: '${VERSION}',/g" meson.build
- name: Initialize meson project
run: meson setup dist --wrap-mode nofallback
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Tagging version with latest, commit and push
run: |
VERSION=latest
sed -i "s/^ *version: *'[0-9a-z.-]*', *$/ version: '${VERSION}'/g" meson.build
sed -i "s/^ *version: *'[0-9a-z.-]*', *$/ version: '${VERSION}',/g" meson.build
git config --global user.email "[email protected]"
git config --global user.name "Tim Teulings"
git commit -a -m "Setting version to next snapshot version"
Expand Down

0 comments on commit 9d37f04

Please sign in to comment.