Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrchen committed Nov 11, 2019
1 parent 8d9fb24 commit c1fc6c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .makefiles/release.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
RELEASE_VERSION=v$(VERSION)
GIT_BRANCH=$(strip $(shell git symbolic-ref --short HEAD))
GIT_VERSION="$(strip $(shell git rev-parse --short HEAD))"
RELEASE_BODY=[release note](https://github.com/tyrchen/book_tianshu/blob/$(RELEASE_VERSION)/CHANGELOG.md#$(VERSION)-$(shell date +%B-%d-%Y | tr "[:upper:]" "[:lower:]")
RELEASE_BODY=[release note](https://github.com/tyrchen/book_next/blob/$(RELEASE_VERSION)/CHANGELOG.md#$(VERSION)-$(shell date +%B-%d-%Y | tr "[:upper:]" "[:lower:]")
RELEASE_DATA='{"tag_name": "$(RELEASE_VERSION)", "name": "$(RELEASE_VERSION)", "target_commitish": "master", "body": "$(RELEASE_BODY))"}'
RELEASE_URL=https://api.github.com/repos/tyrchen/book_tianshu/releases
RELEASE_URL=https://api.github.com/repos/tyrchen/book_next/releases

info:
@echo $(RELEASE_DATA)
Expand Down
2 changes: 1 addition & 1 deletion .makefiles/upload_asset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ done

# Define variables.
owner=tyrchen
repo=book_tianshu
repo=book_next

GH_API="https://api.github.com"
GH_REPO="$GH_API/repos/$owner/$repo"
Expand Down

0 comments on commit c1fc6c6

Please sign in to comment.