Skip to content

Commit

Permalink
manual version
Browse files Browse the repository at this point in the history
  • Loading branch information
sachaw committed Oct 6, 2024
1 parent 365a4ad commit 5336d05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
- name: debug
run: echo $GITHUB_REF && ls -la && pwd
- name: Set Package Versions to current tag
run: sed -i "s/__PACKAGE_VERSION__/$(echo $GITHUB_REF | cut -d '/' -f 3)/g" packages/ts/deno.json \
&& sed -i "s/__PACKAGE_VERSION__/$(echo $GITHUB_REF | cut -d '/' -f 3)/g" packages/rust/Cargo.toml
# run: sed -i "s/__PACKAGE_VERSION__/$(echo $GITHUB_REF | cut -d '/' -f 3)/g" packages/ts/deno.json \
# && sed -i "s/__PACKAGE_VERSION__/$(echo $GITHUB_REF | cut -d '/' -f 3)/g" packages/rust/Cargo.toml
run: sed -i "s/__PACKAGE_VERSION__/2.5.6/g" packages/ts/deno.json \
&& sed -i "s/__PACKAGE_VERSION__/2.5.6/g" packages/rust/Cargo.toml
- name: Setup Buf
uses: bufbuild/buf-setup-action@main
with:
Expand Down
2 changes: 1 addition & 1 deletion packages/ts/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshtastic/protobufs",
"version": "__PACKAGE_VERSION__",
"version": "",
"exports": {
".": "./mod.ts"
},
Expand Down

0 comments on commit 5336d05

Please sign in to comment.