Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
TaykYoku committed Oct 17, 2021
1 parent 72f101b commit 0adcb20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
NEW_STYLE=$(python -c "import diraccfg; major, minor, patch, pre = diraccfg.parseVersion('${TAG_NAME}'); print(f'{major}.{minor}.{patch}', f'a{pre}' if pre else '', sep='')")
echo "Converted ${TAG_NAME} version to ${NEW_STYLE}"
echo ::set-output name=tag_name::"v$NEW_STYLE"
echo ::set-output name=commit::"$(git log -1 --format='%H')"
- name: Publish ${{ steps.PEP-440.outputs.tag_name }} release to GitHub (${{ steps.PEP-440.outputs.commit }})
echo ::set-output name=target_commitish::"$(git rev-parse --short HEAD)"
- name: Publish ${{ steps.PEP-440.outputs.tag_name }} release to GitHub (${{ steps.PEP-440.outputs.target_commitish }})
if: github.event_name == 'push'
uses: softprops/action-gh-release@v1
with:
target_commitish:
target_commitish: ${{ steps.PEP-440.outputs.target_commitish }}
body_path: release.notes
tag_name: ${{ steps.PEP-440.outputs.tag_name }}
- uses: actions/checkout@v2
Expand Down

0 comments on commit 0adcb20

Please sign in to comment.