Skip to content

Commit 800495d

Browse files
committed
close #169 fix changelog brew and windows zip
1 parent 6310c1c commit 800495d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

ci/build/windows.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
#!/bin/sh
22
set -e -u -x
33

4+
apt-get update
5+
apt-get install zip unzip
6+
47
#GET VERSION AND PATH
58
#STORE VERSION AND PATH FOR BUILD
6-
VERSION=$(cat gp-version/version)
9+
VERSION="1.0.0" #$(cat gp-version/version)
710
BUILDPATH=$(pwd)
811

912
#CREATE GO DIRECTORY STRUCTURE
@@ -24,4 +27,4 @@ export GOARCH=amd64
2427
#BUILD AND COMPRESS
2528
export GOOS=windows
2629
go build -ldflags "-X github.com/praqma/git-phlow/options.Version=`echo $VERSION` -X github.com/praqma/git-phlow/options.Sha1=`git rev-parse HEAD` -X github.com/praqma/git-phlow/options.Date=`date +'%d-%m-%Y'`"
27-
tar -cvzf $BUILDPATH/build-artifacts/git-phlow-$VERSION-windows-$GOARCH.tar.gz git-phlow.exe
30+
zip $BUILDPATH/build-artifacts/git-phlow-$VERSION-windows-$GOARCH.tar.gz git-phlow.exe

ci/pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
- task: create-release
8484
file: git-phlow/ci/build/windows.yml
8585
- put: phlow-artifact-windows-s3
86-
params: {file: build-artifacts/git-phlow-*-windows-amd64.tar.gz}
86+
params: {file: build-artifacts/git-phlow-*-windows-amd64.zip}
8787

8888
#PAC GOES HERE
8989

@@ -112,7 +112,7 @@ jobs:
112112
globs:
113113
- phlow-artifact-linux-s3/git-phlow-*-linux-amd64.tar.gz
114114
- phlow-artifact-darwin-s3/git-phlow-*-darwin-amd64.tar.gz
115-
- phlow-artifact-windows-s3/git-phlow-*-windows-amd64.tar.gz
115+
- phlow-artifact-windows-s3/git-phlow-*-windows-amd64.zip
116116

117117

118118
- name: afterburner

0 commit comments

Comments
 (0)