-
-
Save PatilShreyas/b70fd9142845e3287a9a49964ca0b6db to your computer and use it in GitHub Desktop.
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
- name: Create and push tag | |
run: | | |
git config --global user.email "shreyaspatilg@gmail.com" | |
git config --global user.name "$GITHUB_ACTOR" | |
git tag -a $TAG -m "Release v$TAG" | |
git push origin $TAG | |
env: | |
TAG: ${{ github.event.inputs.versionName }} | |
- name: Create Release on GitHub | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.event.inputs.versionName }} | |
release_name: MyLib ${{ github.event.inputs.versionName }} | |
draft: true | |
prerelease: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment