Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/app-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,16 @@ jobs:
with:
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}

- name: refresh apt index (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
run: sudo apt-get update

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
uses: awalsh128/cache-apt-pkgs-action@553a35bb8ebd9fcabcb1c9451aa4c98e1b4ca8a9 # latest
with:
packages: libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
version: 1.0
version: 1.2

- name: install frontend dependencies
uses: bahmutov/npm-install@v1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ jobs:
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6

- name: Create tag
env:
HEAD_REF: ${{ github.event.pull_request.head.ref }}
run: |
VERSION=${{ github.event.pull_request.head.ref }}
VERSION=$HEAD_REF
VERSION=${VERSION#chore/release-version-}
echo "Creating tag for version $VERSION"
git tag "$VERSION"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ jobs:

- name: Update version
id: update_version
env:
INPUT_VERSION: ${{ github.event.inputs.version }}
run: |
JSON_FILE="app/src-tauri/tauri.conf.json"
RAW_TAG=${{ github.event.inputs.version }}
RAW_TAG=$INPUT_VERSION
NEW_VERSION="${RAW_TAG#v}"
echo "Bumping version to $NEW_VERSION"
jq ".version = \"$NEW_VERSION\"" "$JSON_FILE" > $JSON_FILE.temp && mv $JSON_FILE.temp "$JSON_FILE"
Expand Down
Loading