mirror of
https://github.com/drewcassidy/yaclog.git
synced 2024-09-01 14:58:58 +00:00
Try to guess version from action ref
This commit is contained in:
parent
394cac155f
commit
0ca8609bb7
@ -46,7 +46,11 @@ runs:
|
||||
|
||||
- name: Setup Yaclog
|
||||
shell: bash
|
||||
run: pipx install --python ${{ steps.setup-python.outputs.python-path }} ${{ github.action_path }}
|
||||
run: |
|
||||
[[ "$ACTION_REF" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_YACLOG="$ACTION_REF"
|
||||
pipx install --python ${{ steps.setup-python.outputs.python-path }} ${{ github.action_path }}
|
||||
env:
|
||||
ACTION_REF: ${{ github.action_ref }}
|
||||
|
||||
- name: Create New Release
|
||||
shell: bash
|
||||
|
Loading…
Reference in New Issue
Block a user