Skip to content

Commit

Permalink
Merge pull request #54 from github/release-naming
Browse files Browse the repository at this point in the history
Fix release naming
  • Loading branch information
mastahyeti authored May 2, 2019
2 parents e90cbf2 + 925ba02 commit a3c986a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ install:
before_build:
# Figure out version numbers
- git describe --tags > version
- set /p GIT_VERSION= < version
- FOR /F "delims=.- tokens=1" %%G IN (version) DO set VERSION_MAJOR=%%G
- FOR /F "delims=.- tokens=2" %%G IN (version) DO set VERSION_MINOR=%%G
- FOR /F "delims=.- tokens=3" %%G IN (version) DO set VERSION_PATCH=%%G
- FOR /F "delims=v tokens=1" %%G IN (version) DO set GIT_VERSION=%%G
- FOR /F "delims=v.- tokens=1" %%G IN (version) DO set VERSION_MAJOR=%%G
- FOR /F "delims=v.- tokens=2" %%G IN (version) DO set VERSION_MINOR=%%G
- FOR /F "delims=v.- tokens=3" %%G IN (version) DO set VERSION_PATCH=%%G
# Generate resource.syso
- go generate

Expand Down Expand Up @@ -70,8 +70,8 @@ artifacts:

deploy:
tag: $(GIT_VERSION)
release: v$(GIT_VERSION)
description: v$(GIT_VERSION)
release: $(GIT_VERSION)
description: $(GIT_VERSION)
provider: GitHub
auth_token:
secure: sEpJVeD+tAT8soMS72SeGXEv1UVg7gG1ySy8rEfAO1T5HCaxD3jE6YoGmYOvKcbx
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ script:
- GO111MODULE=on go test -v ./...

deploy:
name: v$GIT_VERSION
name: $GIT_VERSION
provider: releases
skip_cleanup: true
file: smimesign-$GIT_VERSION-macos.tgz
Expand Down

0 comments on commit a3c986a

Please sign in to comment.