Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas
Created Jan 21, 2022
Embed
What would you like to do?
- 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