Skip to content

Commit

Permalink
Fix publish task (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgreinho committed Feb 4, 2020
1 parent 5a3e50f commit c4bf773
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,6 @@ executors:
repo_cache_key: &repo_cache_key
go-mod-{{ checksum "go.sum" }}.0

install_keeparelease: &install_keeparelease
name: Install keeparelease
command: |
export BIN_DIR=/home/circleci/.local/bin/
mkdir -p "${BIN_DIR}"
export KEEPARELEASE_VERSION=1.2.1
export KEEPARELEASE_BIN="keeparelease-${KEEPARELEASE_VERSION}-linux-amd64"
curl -sLO "https://github.com/rgreinho/keeparelease/releases/download/${KEEPARELEASE_VERSION}/${KEEPARELEASE_BIN}"
chmod a+x "${KEEPARELEASE_BIN}"
mv "${KEEPARELEASE_BIN}" "${BIN_DIR}/keeparelease"
install_mage: &install_mage
name: Install mage
command: |
Expand Down Expand Up @@ -91,7 +80,7 @@ jobs:
- run:
<<: *install_mage
- run:
<<: *install_keeparelease
command: go install
- run:
name: Build the artifacts for all the selected architectures and published a new GitHub release
command: mage -v release
Expand Down

0 comments on commit c4bf773

Please sign in to comment.