Skip to content

Commit

Permalink
test beta version
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisInSky committed Nov 22, 2024
1 parent 0faddc2 commit 603e707
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/net-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
PIN_TAG=${GITHUB_REF#refs/tags/}
VERSION=${PIN_TAG#net/v}
VERSION="${VERSION%-pin}"
if [[ ! $VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
if [[ ! $VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[a-z]+\.[0-9]+)?$ ]]; then
echo "'$VERSION' is not a valid semver version"
exit 1
fi
Expand All @@ -37,6 +37,7 @@ jobs:
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "NuGet Source URL: $NUGET_SOURCE_URL"
echo "nuget_source_url=$NUGET_SOURCE_URL" >> $GITHUB_OUTPUT
exit 1
- name: Authenticate with GitHub NuGet Registry
run: |
Expand Down

0 comments on commit 603e707

Please sign in to comment.