Tweak release

This commit is contained in:
Bruno Bernardino 2021-12-31 18:50:51 +00:00
parent f57be7b855
commit eef07cc2d4
No known key found for this signature in database
GPG Key ID: D1B0A69ADD114ECE
2 changed files with 17 additions and 5 deletions

View File

@ -8,15 +8,30 @@ on:
default: "Beta"
version:
type: string
description: "Version (semver) for the release."
default: "0.0.1"
required: true
jobs:
create_release_tag:
environment: ${{ github.event.inputs.environment || 'Beta' }}
env:
RELEASE_VERSION: ${{ github.event.inputs.version || '0.0.1' }}
runs-on: ubuntu-latest
steps:
- uses: rickstaa/action-create-tag@v1
with:
tag: "tauri-v${{ env.RELEASE_VERSION }}"
message: "v${{ env.RELEASE_VERSION }}"
release:
environment: ${{ github.event.inputs.environment || 'Beta' }}
env:
RELEASE_VERSION: ${{ github.event.inputs.version || '0.0.1' }}
needs: create_release_tag
strategy:
fail-fast: false
matrix:
@ -43,10 +58,6 @@ jobs:
run: |
npm i -g npm@8.2.0
npm ci
- uses: rickstaa/action-create-tag@v1
with:
tag: "tauri-v${{ env.RELEASE_VERSION }}"
message: "v${{ env.RELEASE_VERSION }}"
- uses: tauri-apps/tauri-action@v0.2.0
env:
PL_SERVER_URL: ${{ secrets.PL_SERVER_URL }}
@ -65,4 +76,5 @@ jobs:
- name: Add tauri-update.json
uses: softprops/action-gh-release@v1
with:
tag_name: "tauri-v${{ env.RELEASE_VERSION }}"
files: packages/tauri/tauri-update.json

View File

@ -4,7 +4,7 @@ version = 3
[[package]]
name = "Padloc"
version = "0.1.0"
version = "4.0.0"
dependencies = [
"serde",
"serde_json",