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 - main
jobs: jobs:
tauri: build:
name: App
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:

View file

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

View file

@ -9,12 +9,9 @@ on:
- main - main
jobs: jobs:
tauri: formatter:
strategy: name: 📝 Formatting
fail-fast: false runs-on: ubuntu-latest
matrix:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -23,6 +20,7 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 16 node-version: 16
cache: npm
- name: install dependencies and check formatting - name: install dependencies and check formatting
run: | 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. Users are required to provide their own copy of the ISO file in order to run the game.
## Features ## Features
- [x] Auto Updates - [x] Auto Updates
- [x] Windows Support - [x] Windows Support
- [ ] Linux Support - [ ] Linux Support

2
src-tauri/Cargo.lock generated
View file

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