Skip to content

Commit

Permalink
👷 Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandD committed Dec 12, 2024
1 parent 7c7fed4 commit 06c6933
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,21 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
name: Test cargo-bump
name: Bump version
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0

- name: Bump version
id: cargo-bump
uses: tj-actions/cargo-bump@v3

- name: "Write cargo.toml"
env:
VERSION: ${{ steps.cargo-bump.outputs.new_version }}
run: |
# Strip 'v' from NEW_VERSION if it starts with it
CLEAN_VERSION=$(echo "$VERSION" | sed 's/^v//')
sed -i "s/^version = \".*\"$/version = \"$CLEAN_VERSION\"/" Cargo.toml
cargo check
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git add .
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ members = [
]

[workspace.package]
version = "0.3.0"
version = "0.3.1"
edition = "2021"
homepage = "https://hyle.eu/"
repository = "https://github.com/Hyle-org/hyle/"
Expand Down

0 comments on commit 06c6933

Please sign in to comment.