Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,13 @@ jobs:

git checkout -b "${branch}"

# Bump version in Cargo.toml
# Bump version in Cargo.toml, web/package.json, and compose.yaml
sed -i "s/^version = \".*\"/version = \"${new_ver}\"/" Cargo.toml
sed -i "s/\"version\": \".*\"/\"version\": \"${new_ver}\"/" web/package.json
short_ver="${new_ver%.*}" # strip patch: 0.1.3 -> 0.1
sed -i "s|mi7chal/netweave:.*|mi7chal/netweave:${short_ver}|" compose.yaml

git add Cargo.toml CHANGELOG.md
git add Cargo.toml web/package.json compose.yaml CHANGELOG.md
git commit -m "chore(release): v${new_ver}"
git tag "${tag}"
git push origin "${branch}" "${tag}"
Expand Down
Loading