Compare commits
4
Commits
ac82135dee
...
v0.6.0-rc1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
419c73dfe1 | ||
|
|
30d51e0e4a | ||
|
|
ea54cda116 | ||
|
|
ce8501cf06 |
No files matched your search
@@ -46,7 +46,10 @@ jobs:
|
|||||||
node-version: 20
|
node-version: 20
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- uses: actions/setup-rust@v1
|
- name: Install npm dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
@@ -56,7 +59,6 @@ jobs:
|
|||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
libwebkit2gtk-4.1-dev \
|
libwebkit2gtk-4.1-dev \
|
||||||
libappindicator3-dev \
|
|
||||||
librsvg2-dev \
|
librsvg2-dev \
|
||||||
patchelf \
|
patchelf \
|
||||||
build-essential \
|
build-essential \
|
||||||
@@ -69,6 +71,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and upload release
|
- name: Build and upload release
|
||||||
uses: tauri-apps/tauri-action@v0
|
uses: tauri-apps/tauri-action@v0
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tagName: ${{ github.ref_name }}
|
tagName: ${{ github.ref_name }}
|
||||||
releaseName: ${{ github.ref_name }}
|
releaseName: ${{ github.ref_name }}
|
||||||
|
|||||||
@@ -16,6 +16,11 @@ fi
|
|||||||
|
|
||||||
# Strip leading 'v' for comparison (we expect semver without v)
|
# Strip leading 'v' for comparison (we expect semver without v)
|
||||||
EXPECTED_BARE="${EXPECTED#v}"
|
EXPECTED_BARE="${EXPECTED#v}"
|
||||||
|
# Strip common prerelease suffixes (-rc1, -beta.2, -alpha.3, etc.) so a
|
||||||
|
# v0.6.0-rc1 tag can reuse the existing 0.6.0 versions in the project files.
|
||||||
|
# If the project does want a separate prerelease version, it must be
|
||||||
|
# committed explicitly to the three version files.
|
||||||
|
EXPECTED_BARE="${EXPECTED_BARE%%-*}"
|
||||||
|
|
||||||
PKG_VERSION=$(node -p "require('./package.json').version")
|
PKG_VERSION=$(node -p "require('./package.json').version")
|
||||||
CARGO_VERSION=$(grep -E '^version\s*=' src-tauri/Cargo.toml | head -1 | sed -E 's/.*"([^"]+)".*/\1/')
|
CARGO_VERSION=$(grep -E '^version\s*=' src-tauri/Cargo.toml | head -1 | sed -E 's/.*"([^"]+)".*/\1/')
|
||||||
|
|||||||
Reference in new issue
Block a user