Revert "fix: add version number to Mac packages (#11506)" (#11510)

This reverts commit 1456689fd2.
This commit is contained in:
Joshua Powers 2022-07-18 08:39:04 -06:00 committed by GitHub
parent 1456689fd2
commit 5e418d7073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -18,7 +18,7 @@ ifdef NIGHTLY
deb_iteration := 0
tar_version := nightly
else ifeq ($(tag),)
version := $(next_version)~$(commit)
version := $(next_version)
rpm_version := $(version)~$(commit)-0
rpm_iteration := 0
deb_version := $(version)~$(commit)-0
@ -106,7 +106,7 @@ deps:
.PHONY: version
version:
@echo $(version)
@echo $(version)-$(commit)
.PHONY: versioninfo
versioninfo:

View File

@ -21,10 +21,6 @@ amdFile=$(find "$HOME/project/dist" -name "*darwin_amd64.tar*")
armFile=$(find "$HOME/project/dist" -name "*darwin_arm64.tar*")
macFiles=("${amdFile}" "${armFile}")
version=$(make version)
plutil -insert CFBundleShortVersionString -string "$version" ~/project/info.plist
plutil -insert CFBundleVersion -string "$version" ~/project/info.plist
for tarFile in "${macFiles[@]}";
do
cleanup