Skip to content

Commit

Permalink
Update PyNUTClient.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov authored Nov 18, 2023
1 parent 3deb94f commit 0146931
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/PyNUTClient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Fetch git tags
run: >-
set -x ;
git --version >&2 || true ;
git fetch --tags >&2
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
Expand All @@ -39,7 +44,6 @@ jobs:
# so we need semicolons between commands!
run: >-
set -x ;
git --version >&2 || true ;
TAG_NAME="$(echo $GITHUB_REF | cut -d / -f 3)" ;
if [ x"$TAG_NAME" = xmaster ]; then
{ TAG_NAME="$(git describe --tags --match 'v[0-9]*.[0-9]*.[0-9]' --exclude '*-signed' --exclude '*rc*' --exclude '*alpha*' --exclude '*beta*')" \
Expand Down

0 comments on commit 0146931

Please sign in to comment.