From d1c946a3269cc7a991248e7edb35a115fda4b426 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 9 Feb 2023 18:48:43 -0500 Subject: [PATCH] Tag release with action ID, fix timestamp --- .github/workflows/release.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a90407a..1d8cf95 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,7 +61,7 @@ jobs: draft: true prerelease: false release_name: ${{ steps.build_release.outputs.RELEASE_NAME }} - tag_name: ${{ github.ref }} + tag_name: ${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}-action-id # body_path: CHANGELOG.md env: GITHUB_TOKEN: ${{ github.token }} diff --git a/Makefile b/Makefile index fa6a5c2..b0ce2b5 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ config.REPORT_FAIL_ON := none # Other constants TODAY := $(shell date +%Y-%m-%d) -TIMESTAMP := $(shell date +%Y-%m-%d %H:%M') +TIMESTAMP := $(shell date +'%Y-%m-%d %H:%M') # Default name for release. Ideally this should incude some kind of semantic versioning config.RELEASE_NAME := $(config.ONTOLOGY_PREFIX) $(TIMESTAMP)