Skip to content

Commit

Permalink
Package Version and Stripping
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyTech6 committed Dec 6, 2024
1 parent 28236eb commit a7c3c44
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PACKAGE_VERSION: ${{ env.GitVersion_SemVer }}
with:
releaseId: ${{ env.GitVersion_SemVer }}
releaseId: ${{env.GitVersion_SemVer}}
tagName: v${{ env.GitVersion_SemVer }}
releaseName: v${{ env.GitVersion_SemVer }}
releaseBody: "See the assets to download this version and install."
releaseDraft: true
prerelease: false

- name: GH Release
uses: softprops/action-gh-release@v1
Expand Down
4 changes: 4 additions & 0 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
mode: Mainline
major-version-bump-message: "^(breaking|major):"
minor-version-bump-message: "^(feature|minor):"
patch-version-bump-message: "^(fix|patch):"
3 changes: 3 additions & 0 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1"
tauri-plugin-fs = "2.0.0"
tauri-plugin-dialog = "2.0.0"

[profile.release]
strip = true
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "jsonrising",
"version": "0.0.0",
"version": "${PACKAGE_VERSION}",
"identifier": "com.jsonrising.app",
"build": {
"beforeDevCommand": "dotnet watch run --project src/JSONRising.csproj",
Expand Down

0 comments on commit a7c3c44

Please sign in to comment.