manual version

This commit is contained in:
Sacha Weatherstone 2024-10-06 23:35:06 +10:00
parent 365a4ad491
commit 5336d05f04
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View file

@ -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:

View file

@ -1,6 +1,6 @@
{
"name": "@meshtastic/protobufs",
"version": "__PACKAGE_VERSION__",
"version": "",
"exports": {
".": "./mod.ts"
},