release: update Cargo.lock as well after bumping versions (#136)

This commit is contained in:
Tyler Wilding 2022-08-08 20:01:11 -04:00 committed by GitHub
parent 9bf0fa0a45
commit d20787ecc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 8 deletions

View file

@ -11,7 +11,8 @@ on:
- main
jobs:
tauri:
build:
name: App
strategy:
fail-fast: false
matrix:

View file

@ -28,6 +28,12 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: bump versions with new tag value
id: version-bump
@ -36,6 +42,8 @@ jobs:
NEW_VERSION=$(awk '/version/{gsub(/("|",)/,"",$2);print $2}' package.json)
sed -i "/APP_VERSION/c\version = \""$NEW_VERSION"\" # APP_VERSION" ./src-tauri/Cargo.toml
sed -i "/\"version\":/c\ \"version\": \""$NEW_VERSION"\"" ./src-tauri/tauri.conf.json
cd ./src-tauri
cargo check
echo "##[set-output name=new_version;]${NEW_VERSION}"
- name: commit version bump

View file

@ -9,12 +9,9 @@ on:
- main
jobs:
tauri:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
formatter:
name: 📝 Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
@ -23,6 +20,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- name: install dependencies and check formatting
run: |

View file

@ -13,6 +13,7 @@ A launcher for users to install and run the OpenGOAL project with ease
Users are required to provide their own copy of the ISO file in order to run the game.
## Features
- [x] Auto Updates
- [x] Windows Support
- [ ] Linux Support

2
src-tauri/Cargo.lock generated
View file

@ -55,7 +55,7 @@ checksum = "08f9b8508dccb7687a1d6c4ce66b2b0ecef467c94667de27d8d7fe1f8d2a9cdc"
[[package]]
name = "app"
version = "0.3.2"
version = "1.0.1"
dependencies = [
"serde",
"serde_json",