Skip to content

Commit

Permalink
Fixes version for other variants
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanformio committed Mar 21, 2024
1 parent afcff10 commit 201e658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/config.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build / Test / Publish
name: Build, Test, Publish

on:
pull_request:
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
# If the current version includes '-rc.', remove it and everything after
# This step ensures that we start with a base version like '3.0.0' even if it was a release candidate
BASE_VERSION=$(echo "$CURRENT_VERSION" | sed 's/-rc.*//')
BASE_VERSION=$(echo "$CURRENT_VERSION" | cut -d'-' -f1)
# Construct the new version string
NEW_VERSION="${BASE_VERSION}-dev.${PR_NUMBER}.${COMMIT_SHORT_SHA}"
Expand Down

0 comments on commit 201e658

Please sign in to comment.