Skip to content

Commit

Permalink
remove commented out block as it was invalid syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel.Hill <[email protected]>
  • Loading branch information
dan-hill2802 committed Mar 10, 2021
1 parent 7602d89 commit 79815e4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ jobs:
LATEST_VERSION=$(curl --silent "https://api.github.com/repos/${{ github.repository }}/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
[ -z "$LATEST_VERSION" ] && LATEST_VERSION="0.0.0"
echo ::set-output name=latest_version_out::$LATEST_VERSION
# commit_message="${{ github.event.head_commit.message }}"
# if [[ "${commit_message,,}" == *"major release"* ]]; then
# echo ::set-output name=semver_increment::"m"
# elif [[ "${commit_message,,}" == *"minor release"* ]]; then
# echo ::set-output name=semver_increment::"i"
# else
# echo ::set-output name=semver_increment::"p"
# fi
echo ::set-output name=semver_increment::"p"
- name: Increment SemVer
id: semver
Expand Down

0 comments on commit 79815e4

Please sign in to comment.