Skip to content

Commit

Permalink
Fixed Create Release to use DateTime as tagname (#152)
Browse files Browse the repository at this point in the history
* Fixed tag name as date/time

* Reverting to master only after testing
  • Loading branch information
rfernandes-sugarcrm authored Oct 22, 2021
1 parent 8d35417 commit 613a284
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,17 @@ jobs:
with:
name: professorM-artifact
path: package/releases
- name: set TAG_NAME
id: set_tag_name
run: |
echo ::set-output name=TAG_NAME::v$(date +'%Y%m%d.%H%M%S')
- name: Create Release
id: create_release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: Tag ${{ github.event.head_commit.message }}
tag_name: ${{ steps.set_tag_name.outputs.TAG_NAME }}
release_name: Release ${{ github.event.head_commit.message }}
draft: false
prerelease: false
Expand Down

0 comments on commit 613a284

Please sign in to comment.