Skip to content

Commit

Permalink
Fix latest release tag, introduce a.b.c-d versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinRNDR committed Jul 8, 2022
1 parent 909431a commit 82502d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-to-maven-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ on:
push:
tags:
- v[0-9].[0-9]+.[0-9]+
- v[0-9].[0-9]+.[0-9]+.[0-9]+
- v[0-9].[0-9]+.[0-9]+-[0-9]+
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: Get OPENRNDR release tag
run: echo "OPENRNDR_VERSION=$(git ls-remote --refs --tags https://github.com/openrndr/openrndr | cut --delimiter='/' --fields=3 | sort --version-sort | tail --lines=1)" >> $GITHUB_ENV
run: echo "OPENRNDR_VERSION=$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' https://github.com/openrndr/openrndr | cut --delimiter='/' --fields=3 | tail --lines=1)" >> $GITHUB_ENV
- uses: actions/checkout@v2
- name: Get the version
id: get_version
Expand Down

0 comments on commit 82502d9

Please sign in to comment.