Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Fix version extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramtamtam committed Feb 24, 2020
1 parent 400baa6 commit 0e3ff30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e3ff30

Please sign in to comment.