Skip to content

Commit

Permalink
Update release workflow and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Baarsgaard committed Oct 25, 2023
1 parent 0784380 commit adb2796
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
-
-

All changes: https://github.com/baarsgaard/jig/compare/v0.2.0...v${CRATE_VERSION}
All changes: https://github.com/baarsgaard/jig/compare/v0.4.2...v${CRATE_VERSION}

### Upgrading:

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
get-tag:
name: "Create tagged release"
runs-on: self-hosted
runs-on: ubuntu-latest
outputs:
crate-version: ${{ steps.crate-version.outputs.CRATE_VERSION }}
steps:
Expand All @@ -30,7 +30,7 @@ jobs:
if: ${{ github.event.inputs.draft }}
run: >
envsubst < .github/release-notes.md |
gh release create 'v${{ steps.crate-version.outputs.CRATE_VERSION }}' --title 'v${{ steps.crate-version.outputs.CRATE_VERSION }}' --notes-file - --draft
gh release create "v$CRATE_VERSION" --title "v$CRATE_VERSION" --notes-file - --draft
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
CRATE_VERSION: "${{ steps.crate-version.outputs.CRATE_VERSION }}"
Expand All @@ -39,7 +39,7 @@ jobs:
if: ${{ !github.event.inputs.draft }}
run: >
envsubst < .github/release-notes.md |
gh release create 'v${{ steps.crate-version.outputs.CRATE_VERSION }}' --notes-file -
gh release create "v$CRATE_VERSION" --notes-file -
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
CRATE_VERSION: "${{ steps.crate-version.outputs.CRATE_VERSION }}"
Expand Down
2 changes: 1 addition & 1 deletion jig-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jig"
version = "0.4.2"
version = "0.5.0"
edition = "2021"
authors = ["Steffen Baarsgaard <sbaarsgaard@gmail.com>"]

Expand Down

0 comments on commit adb2796

Please sign in to comment.