Skip to content

Fix version number consistency and correctness for Windows and Android release workflows#555

Merged
StuartFerguson merged 1 commit intomainfrom
copilot/set-version-number-for-artifacts
Apr 24, 2026
Merged

Fix version number consistency and correctness for Windows and Android release workflows#555
StuartFerguson merged 1 commit intomainfrom
copilot/set-version-number-for-artifacts

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 24, 2026

Both release workflows shared a broken version extraction step: the Android job ran shell: powershell on ubuntu-latest, and both used a non-deterministic day-of-year revision. Critically, Android's ApplicationVersion must be a positive integer (maps to versionCode), not a 4-component MSIX dotted string.

Changes

release_windows.yml

  • Removed Get-Date.DayOfYear revision — ApplicationVersion is now deterministic: major.minor.patch.0

release_android.yml

  • Fixed shell: powershellshell: bash (job runs on ubuntu-latest)
  • ApplicationVersion is now a proper Android versionCode integer: major * 1000000 + minor * 1000 + patch
  • Renamed env var to APP_ANDROID_VERSION to clarify platform intent

Version mapping (e.g. tag v1.2.3)

Property Windows Android
ApplicationDisplayVersion 1.2.3 1.2.3
ApplicationVersion 1.2.3.0 1002003

@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@StuartFerguson StuartFerguson marked this pull request as ready for review April 24, 2026 09:45
@StuartFerguson StuartFerguson merged commit b938d01 into main Apr 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants