Skip to content

Commit

Permalink
fix: fixing dev versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
creyD committed Oct 25, 2024
1 parent 6d5411a commit e381992
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,6 @@ jobs:
git config --local user.email "15138480+creyD@users.noreply.github.com"
git config --local user.name "creyD"
- name: Set version format
id: set_version
run: |
if [[ "${{ github.head_ref }}" == "master" ]]; then
echo "V_FORMAT=${major}.${minor}.${patch}" >> $GITHUB_ENV
elif [[ "${{ github.head_ref }}" == "dev" ]]; then
echo "V_FORMAT=${major}.${minor}.${patch}-prerelease${increment}" >> $GITHUB_ENV
fi
- name: get version format
run: echo "${{ steps.set_version.outputs.V_FORMAT }}" >> $GITHUB_STEP_SUMMARY

- name: Git Version
uses: PaulHatch/semantic-version@v5.4.0
id: git_version
Expand All @@ -84,7 +72,7 @@ jobs:
major_pattern: "breaking:"
minor_pattern: "feat:"
enable_prerelease_mode: false
version_format: "${major}.${minor}.${patch}-prerelease${increment}"
version_format: "${major}.${minor}.${patch}rc${increment}"

- name: Create & Push Tag
if: github.head_ref == 'master' || github.head_ref == 'dev'
Expand Down

0 comments on commit e381992

Please sign in to comment.