mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: create winget package workflow (#4761)
Co-authored-by: Dean Sheather <dean@deansheather.com>
This commit is contained in:
committed by
GitHub
parent
1b6d0c39e1
commit
990be63c60
@ -67,7 +67,9 @@ fi
|
||||
# Remove the "v" prefix and ensure the version is in the format X.X.X.X for
|
||||
# makensis.
|
||||
nsis_version="${version//-*/}"
|
||||
nsis_version+=".$(date -u +%Y%m%d%H%M)"
|
||||
# Each component of a version must be a 16 bit integer, so we can't store any
|
||||
# useful information like build date or commit SHA in the 4th component.
|
||||
nsis_version+=".0"
|
||||
|
||||
# Check dependencies
|
||||
dependencies makensis
|
||||
|
@ -2,6 +2,9 @@
|
||||
# adapted to Coder's needs:
|
||||
# https://www.conjur.org/blog/building-a-windows-installer-from-a-linux-ci-pipeline/
|
||||
|
||||
# Since we only build an AMD64 installer for now, ensure that the generated
|
||||
# installer matches so wingetcreate can sniff the architecture properly.
|
||||
CPU amd64
|
||||
Unicode true
|
||||
|
||||
!define APP_NAME "Coder"
|
||||
|
Reference in New Issue
Block a user