devel/mage: Update to 1.15.0
ChangeLog: https://github.com/magefile/mage/releases/tag/v1.15.0 * Update CI * fix erroneous docstring of sh.Exec() * Update jQuery to 3.5.0 * -d dir contains magefiles stop with "No .go files marked with the mage build tag..." * mage: cancel context on SIGINT PR: 273084 Reported by: gspurki@gmail.com (maintainer)
This commit is contained in:
parent
95113c500f
commit
ba5110d0a0
3 changed files with 4 additions and 26 deletions
|
@ -1,7 +1,6 @@
|
|||
PORTNAME= mage
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.14.0
|
||||
PORTREVISION= 8
|
||||
DISTVERSION= 1.15.0
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= devel
|
||||
|
||||
|
@ -19,10 +18,6 @@ GH_ACCOUNT= magefile
|
|||
|
||||
PLIST_FILES= bin/mage
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|%%GH_TAGNAME%%|${GH_TAGNAME}|g; s|%%GH_TAG_COMMIT%%|${GH_TAG_COMMIT}|g" \
|
||||
${WRKSRC}/magefile.go
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} \
|
||||
${GO_CMD} run bootstrap.go
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1663671045
|
||||
SHA256 (magefile-mage-v1.14.0_GH0.tar.gz) = 346b82cd4c6af35a6bffcdaed1a6de0947d8b282ce80ee719805e8fea33bc481
|
||||
SIZE (magefile-mage-v1.14.0_GH0.tar.gz) = 8801424
|
||||
TIMESTAMP = 1691832652
|
||||
SHA256 (magefile-mage-v1.15.0_GH0.tar.gz) = 3ce55e39d175d925c015b4dc773cea1fc4d3c64af9edcec6f9b7ab9388b751bf
|
||||
SIZE (magefile-mage-v1.15.0_GH0.tar.gz) = 8805332
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
--- magefile.go.orig 2018-04-11 17:03:07 UTC
|
||||
+++ magefile.go
|
||||
@@ -83,12 +83,14 @@ func flags() (string, error) {
|
||||
|
||||
// tag returns the git tag for the current branch or "" if none.
|
||||
func tag() string {
|
||||
+ return "%%GH_TAGNAME%%"
|
||||
s, _ := sh.Output("git", "describe", "--tags")
|
||||
return s
|
||||
}
|
||||
|
||||
// hash returns the git hash for the current repo or "" if none.
|
||||
func hash() string {
|
||||
+ return "%%GH_TAG_COMMIT%%"
|
||||
hash, _ := sh.Output("git", "rev-parse", "--short", "HEAD")
|
||||
return hash
|
||||
}
|
Loading…
Reference in a new issue