Skip to content

Commit

Permalink
fix: misc (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
ginokent committed Aug 25, 2023
2 parents 8f9e345 + 7d76d68 commit 2d3d644
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ release: ci ## Run goxz and gh release upload
@command -v goxz >/dev/null || go install github.com/Songmu/goxz/cmd/goxz@latest
git checkout main
git checkout "${GIT_TAG_LATEST}"
goxz -d "${REPO_TMP_DIR}" -os=linux,darwin,windows -arch=amd64,arm64 -pv "`git describe --tags --abbrev=0`" -trimpath -build-ldflags "-s -w -X ${GO_MODULE_NAME}/pkg/config.version=`git describe --tags --abbrev=0` -X ${GO_MODULE_NAME}/pkg/config.revision=`git rev-parse HEAD` -X ${GO_MODULE_NAME}/pkg/config.branch=`git rev-parse --abbrev-ref HEAD` -X ${GO_MODULE_NAME}/pkg/config.timestamp=`git log -n 1 --format='%cI'`" ./cmd/ccc
gh release upload "`git describe --tags --abbrev=0`" "${REPO_TMP_DIR}"/*"`git describe --tags --abbrev=0`"*
-goxz -d "${REPO_TMP_DIR}" -os=linux,darwin,windows -arch=amd64,arm64 -pv "`git describe --tags --abbrev=0`" -trimpath -build-ldflags "-s -w -X ${GO_MODULE_NAME}/pkg/config.version=`git describe --tags --abbrev=0` -X ${GO_MODULE_NAME}/pkg/config.revision=`git rev-parse HEAD` -X ${GO_MODULE_NAME}/pkg/config.branch=`git rev-parse --abbrev-ref HEAD` -X ${GO_MODULE_NAME}/pkg/config.timestamp=`git log -n 1 --format='%cI'`" ./cmd/ccc
-gh release upload "`git describe --tags --abbrev=0`" "${REPO_TMP_DIR}"/*"`git describe --tags --abbrev=0`"*
git checkout "${GIT_BRANCH_CURRENT}"

0 comments on commit 2d3d644

Please sign in to comment.