Skip to content

Commit

Permalink
fix(ci): Update the version number
Browse files Browse the repository at this point in the history
  • Loading branch information
tomphp committed Oct 24, 2023
1 parent dfc7d36 commit a767887
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ jobs:
runs-on: ${{ matrix.os }}
needs:
- run-tests
- bump-cargo-version
steps:
- uses: tomphp/github-actions/checkout-rust-project@v0.2.0
- uses: actions/download-artifact@v3
- uses: actions-rs/cargo@v1.0.3
name: Build release version
with:
Expand Down
5 changes: 4 additions & 1 deletion cog.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ tag_prefix = "v"
from_latest_tag = false
ignore_merge_commits = true
branch_whitelist = ["main"]
pre_bump_hooks = []
pre_bump_hooks = [
# In the pipeline, this will be created by a preceding job
"mv ../bumped-files/* ."
]
post_bump_hooks = [
"git push",
"git push origin v{{version}}",
Expand Down

0 comments on commit a767887

Please sign in to comment.