- Refspec:
+refs/tags/*:refs/remotes/origin/tags/*
- Branch Specifier:
*/tags/*
Created
December 6, 2016 11:02
-
-
Save int128/99cce8fd0cc22752d7dc69aded297641 to your computer and use it in GitHub Desktop.
How to handle GitHub Webook on Tag pushed on Jenkins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export TAG_NAME="$(git describe --tags)" | |
rm -fr .git | |
[ "$TAG_NAME" ] && ./gradlew publish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment