Skip to content

Commit

Permalink
- restructure variables to fix missing major minor patch value
Browse files Browse the repository at this point in the history
  • Loading branch information
KinNeko-De committed Apr 10, 2024
1 parent 8d390bf commit 67a52e9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ jobs:
- name : Semantic version
id: semantic_version
run: |
SEMANTIC_VERSION="${{ inputs.major_minor_patch }}"
SEMANTIC_VERSION="${SEMANTIC_VERSION}${{ steps.version_suffix.outputs.extension }}"
echo 'MAJOR_MINOR_PATCH: ' $MAJOR_MINOR_PATCH
echo 'SEMANTIC_VERSION: ' $SEMANTIC_VERSION
echo "semantic_version=$SEMANTIC_VERSION" >> $GITHUB_OUTPUT
echo "major_minor_patch=$MAJOR_MINOR_PATCH" >> $GITHUB_OUTPUT
MAJOR_MINOR_PATCH="${{ inputs.major_minor_patch }}"
echo 'MAJOR_MINOR_PATCH: ' ${MAJOR_MINOR_PATCH}
SEMANTIC_VERSION="${MAJOR_MINOR_PATCH}${{ steps.version_suffix.outputs.extension }}"
echo 'SEMANTIC_VERSION: ' ${SEMANTIC_VERSION}
echo "semantic_version=${SEMANTIC_VERSION}" >> $GITHUB_OUTPUT
echo "major_minor_patch=${MAJOR_MINOR_PATCH}" >> $GITHUB_OUTPUT
- name: "Version upgraded?"
id: version_check
run: |
Expand Down

0 comments on commit 67a52e9

Please sign in to comment.