Skip to content

Commit e294ea7

Browse files
authored
Merge pull request #15 from wrale/jmdots/dev
Fix publish workflow to commit Cargo.lock changes
2 parents 005d52b + ab37085 commit e294ea7

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ jobs:
2121
- name: Run tests
2222
run: make test
2323

24+
- name: Commit Cargo.lock if changed
25+
run: |
26+
git diff --exit-code Cargo.lock || (
27+
git add Cargo.lock
28+
git commit -m "Update Cargo.lock for publishing [skip ci]"
29+
)
30+
2431
- name: Publish to crates.io
2532
run: cargo publish
2633
env:

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wrale-acdm"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
edition = "2021"
55
description = "Wrale Agnostic Content Dependency Manager"
66
authors = ["Wrale LTD <contact@wrale.com>"]

0 commit comments

Comments
 (0)