Skip to content

Commit

Permalink
adsd
Browse files Browse the repository at this point in the history
  • Loading branch information
druskus20 committed Apr 10, 2024
1 parent 56046e0 commit deb322f
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/actions/elk-tag-and-release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,6 @@ runs:
WITH_V: 'true'
DEFAULT_BUMP: ${{ inputs.bump-type }}
CUSTOM_TAG: ${{ inputs.custom-version }}
- name: Exit if there were no changes
shell: bash
run: >-
tag_commit=$(git rev-list -n 1 "$tag")
commit=$(git rev-parse HEAD)
if [ "$tag_commit" == "$commit" ]
then
echo "No new commits since previous tag. Skipping..."
setOutput "new_tag" "$tag"
setOutput "tag" "$tag"
exit 0
fi
echo "part=" ${{ steps.bump-version.outputs.part }}
- name: Extract major tag
id: extract-major
shell: bash
Expand Down Expand Up @@ -108,7 +93,7 @@ runs:
with:
artifacts: ${{ inputs.artifacts }}
bodyFile: ${{ inputs.body-file }}
tag: ${{ steps.re-export.outputs.tag }}
# If it is a dry run, push "test" and allow updates
draft: ${{ inputs.dry-run }}
tag: ${{ steps.re-export.outputs.tag }}
allowUpdates: ${{ inputs.dry-run }}

0 comments on commit deb322f

Please sign in to comment.