Merge pull request #1021 from near/develop #4
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: Automatic Github Releases | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
update_release_draft: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Get current date | |
id: date | |
run: echo "tag=$(date +'%m-%d-%Y')" >> "$GITHUB_OUTPUT" | |
- uses: actions/checkout@v3 | |
- uses: ncipollo/[email protected] | |
with: | |
generateReleaseNotes: true | |
tag: ${{ steps.date.outputs.tag }} | |
makeLatest: true | |
allowUpdates: false | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |