Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
8 changes: 8 additions & 0 deletions .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ jobs:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Sync metainfo version from Cargo.toml
run: |
VERSION=$(grep '^version = ' Cargo.toml | head -1 | sed 's/version = "\(.*\)"/\1/')
DATE=$(date +%Y-%m-%d)
Comment thread
lklimek marked this conversation as resolved.
Outdated
sed -i "s|<release version=\"[^\"]*\" date=\"[^\"]*\"|<release version=\"${VERSION}\" date=\"${DATE}\"|" \
flatpak/org.dash.DashEvoTool.metainfo.xml
echo "Metainfo version set to ${VERSION}, date ${DATE}"

Comment thread
coderabbitai[bot] marked this conversation as resolved.
- name: Install Flatpak and Flatpak Builder
run: |
sudo apt-get update
Expand Down
20 changes: 16 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,12 @@ jobs:
- name: Check out code
uses: actions/checkout@v4

- name: Extract version from Cargo.toml
id: version
run: |
VERSION=$(grep '^version = ' Cargo.toml | head -1 | sed 's/version = "\(.*\)"/\1/')
echo "version=$VERSION" >> $GITHUB_OUTPUT

Comment thread
coderabbitai[bot] marked this conversation as resolved.
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

Expand Down Expand Up @@ -270,9 +276,9 @@ jobs:
<key>CFBundleDisplayName</key>
<string>Dash Evo Tool</string>
<key>CFBundleVersion</key>
<string>1.0.0</string>
<string>${{ steps.version.outputs.version }}</string>
Comment thread
lklimek marked this conversation as resolved.
Outdated
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<string>${{ steps.version.outputs.version }}</string>
Comment thread
lklimek marked this conversation as resolved.
Outdated
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
Expand Down Expand Up @@ -468,6 +474,12 @@ jobs:
- name: Check out code
uses: actions/checkout@v4

- name: Extract version from Cargo.toml
id: version
run: |
VERSION=$(grep '^version = ' Cargo.toml | head -1 | sed 's/version = "\(.*\)"/\1/')
echo "version=$VERSION" >> $GITHUB_OUTPUT

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

Expand Down Expand Up @@ -563,9 +575,9 @@ jobs:
<key>CFBundleDisplayName</key>
<string>Dash Evo Tool</string>
<key>CFBundleVersion</key>
<string>1.0.0</string>
<string>${{ steps.version.outputs.version }}</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<string>${{ steps.version.outputs.version }}</string>
Comment thread
lklimek marked this conversation as resolved.
Outdated
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
Expand Down
1 change: 1 addition & 0 deletions flatpak/org.dash.DashEvoTool.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<name>Dash Core Group</name>
</developer>

<!-- Version and date are auto-synced from Cargo.toml by CI (flatpak.yml) -->
<releases>
<release version="1.0.0-dev" date="2026-02-17" type="development" />
</releases>
Expand Down
Loading