Skip to content

Commit

Permalink
Remove the unused var old_tag_name
Browse files Browse the repository at this point in the history
  • Loading branch information
hdefazio committed Feb 5, 2025
1 parent aff4292 commit 347da14
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/odh-create-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ permissions:
jobs:
fetch-tag:
runs-on: ubuntu-latest
outputs:
old_tag: ${{ steps.get_tag.outputs.old_tag_name }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -26,12 +24,9 @@ jobs:

- name: Get latest tag
id: get_tag
run: |
echo "old_tag_name=$(git for-each-ref --sort=creatordate --format '%(refname)' refs/tags | awk -F'/' '{print $3}' | tail -n1)" >> $GITHUB_OUTPUT
- name: print tag
id: print_tag
run: |
echo "Old Tag=${{ steps.get_tag.outputs.old_tag_name }}"
echo "NEW_TAG=${{ github.event.inputs.tag_name }}" >> $GITHUB_ENV
echo "$(basename ${{ github.ref }})"
Expand Down

0 comments on commit 347da14

Please sign in to comment.