Skip to content

Commit

Permalink
test: updater
Browse files Browse the repository at this point in the history
  • Loading branch information
DrAugus committed Dec 21, 2022
1 parent 80b2e19 commit 0cf0c5e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0
- name: install app dependencies and build it
run: yarn && yarn build
run: pnpm && pnpm build
8 changes: 4 additions & 4 deletions .github/workflows/tauri-action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "publish"
name: publish new version
on:
push:
branches:
Expand Down Expand Up @@ -31,15 +31,15 @@ jobs:
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0
- name: install app dependencies and build it
run: yarn && yarn build
run: pnpm && pnpm build
- uses: tauri-apps/tauri-action@v0
env:
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "App v__VERSION__"
tagName: augus-app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "Augus App v__VERSION__"
releaseBody: "See the assets to download this version and install."
releaseDraft: false
prerelease: false
10 changes: 5 additions & 5 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"$schema": "..\\node_modules/@tauri-apps/cli\\schema.json",
"build": {
"beforeBuildCommand": "yarn build",
"beforeDevCommand": "yarn dev",
"beforeBuildCommand": "pnpm build",
"beforeDevCommand": "pnpm dev",
"devPath": "http://localhost:3000",
"distDir": "../dist"
},
"package": {
"productName": "augus",
"version": "0.1.0"
"version": "0.1.1"
},
"tauri": {
"allowlist": {
Expand Down Expand Up @@ -57,10 +57,10 @@
"updater": {
"active": true,
"endpoints": [
"https://releases.myapp.com/{{target}}/{{current_version}}"
"https://github.com/DrAugus/augus-tauri/releases/tag/augus-app-v{{current_version}}"
],
"dialog": true,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDFEMjYzRTMzNEJEN0I1Q0YKUldUUHRkZExNejRtSFZkTno4VUNrejlpUDJuT1V3T0JRKzhHNnhOazdHVlNiZXYvLzBLV1czZWoK"
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDU5RTc0MTVGOTQ4M0RDM0MKUldRODNJT1VYMEhuV2NrU1ZwRUZSSWlMZTVzcm9OQVpWdFdSamZVU1ozbU9Vc3Z5Z1BaZXE3ODQK"
},
"windows": [
{
Expand Down

0 comments on commit 0cf0c5e

Please sign in to comment.