From 0e3ff30267cd4601402e6dfe7ed777d7c608a255 Mon Sep 17 00:00:00 2001 From: Paramtamtam Date: Mon, 24 Feb 2020 18:31:39 +0500 Subject: [PATCH] Fix version extraction --- .github/workflows/release.yml | 2 +- CHANGELOG.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be8983ac..86bd9cae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: fetch-depth: 1 - name: Generate version value - run: echo "::set-env name=version::${GITHUB_REF##*/}@`echo ${GITHUB_SHA} | cut -c1-8`" + run: echo "::set-env name=version::${GITHUB_REF/refs\/tags\//}@`echo ${GITHUB_SHA} | cut -c1-8`" - name: Build application env: diff --git a/CHANGELOG.md b/CHANGELOG.md index fb45ac84..caedf310 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver]. +## v3.0.1 + +### Fixed + +- Version value extraction using GitHub Actions + ## v3.0.0 ### Changed