Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
frasdav committed Dec 26, 2023
1 parent 43e6299 commit 3f9e455
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: CI

on:
push:
tags-ignore:
- "**"
pull_request:
workflow_dispatch:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:
run: |
TAG="${GITHUB_REF#refs/*/}"
if [[ "$TAG" =~ ^[\w-]+\/+\d+\.\d+\.\d+(-[\w\d]+)?$ ]]; then
if [[ "$TAG" =~ ^[a-zA-Z0-9-]+\/[0-9]+\.[0-9]+\.[0-9]+(-[\w\d]+)?$ ]]; then
MODULE_NAME=$(echo "$TAG" |cut -d/ -f 1)
VERSION=$(echo "$TAG" |cut -d/ -f 2)
else
echo "Invalid tag format: $TAG"
exit 1
fi
if [[ "$TAG" =~ ^v\d+\.\d+\.\d+$ ]]; then
if [[ "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
IS_PRE_RELEASE="false"
else
IS_PRE_RELEASE="true"
Expand Down

0 comments on commit 3f9e455

Please sign in to comment.