diff --git a/.circleci/config.yml b/.circleci/config.yml index a648e2867..e8bdddc0c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,14 +19,6 @@ jobs: - image: circleci/golang:1.10 steps: - checkout - - run: - name: "Write metadata" - command: | - if [ "${CIRCLE_TAG}" != "" ]; then - sh ./.circleci/scripts/write_metadata.sh $CIRCLE_TAG "`date '+%B %d, %Y @ %H:%M:%S'`" - else - echo "Not tagged, skipping step" - fi - run: name: "Install Goreleaser" command: | diff --git a/.circleci/scripts/write_metadata.sh b/.circleci/scripts/write_metadata.sh deleted file mode 100644 index f86c137e1..000000000 --- a/.circleci/scripts/write_metadata.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -VERSION=$1 -BUILD_DATE="`date '+%B %d, %Y @ %H:%M:%S'`" -CONTENT="package meta\n\nvar VERSION = \"$VERSION\"\nvar BUILD_DATE = \"$BUILD_DATE\"" - -mkdir -p meta - -printf "$CONTENT" > ./meta/meta.go \ No newline at end of file