Skip to content

Commit 6de209b

Browse files
authored
Merge pull request #17 from VCTLabs/develop
(re)package pyprctl
2 parents 641afee + 0a8915b commit 6de209b

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: pyprctrl RPMs
1+
name: pyprctl RPMs
22

33
on:
44
workflow_dispatch:
@@ -31,18 +31,18 @@ jobs:
3131
echo "version=${version}" >> $GITHUB_OUTPUT
3232
echo Version from spec: $version
3333
env:
34-
NAME: python-pyprctrl
34+
NAME: python-pyprctl
3535

3636
build_rpms:
37-
name: pyprctrl-rpms
37+
name: pyprctl-rpms
3838
timeout-minutes: 30
3939
strategy:
4040
fail-fast: false
4141
matrix:
4242
name: [rocky9]
4343
include:
4444
- name: rocky9
45-
spec: python-pyprctrl
45+
spec: python-pyprctl
4646
image: quay.io/rockylinux/rockylinux:9
4747

4848
runs-on: ubuntu-latest
@@ -90,7 +90,7 @@ jobs:
9090
tmp/SRPMS/*.rpm
9191
9292
create-release:
93-
name: Create pyprctrl Release
93+
name: Create pyprctl Release
9494
runs-on: ubuntu-latest
9595
needs: [get_version, build_rpms]
9696
permissions:
@@ -113,12 +113,12 @@ jobs:
113113
if: ${{ github.event_name != 'pull_request' }}
114114
run: |
115115
set +e
116-
if git rev-list "pyprctrl-${{ needs.get_version.outputs.version }}" >/dev/null 2>&1 ; then
117-
echo "Tag for pyprctrl-${{ needs.get_version.outputs.version }} already exists. Skipping release creation."
116+
if git rev-list "pyprctl-${{ needs.get_version.outputs.version }}" >/dev/null 2>&1 ; then
117+
echo "Tag for pyprctl-${{ needs.get_version.outputs.version }} already exists. Skipping release creation."
118118
echo "NEW_RELEASE=false" >> $GITHUB_OUTPUT
119119
else
120-
git tag "pyprctrl-${{ needs.get_version.outputs.version }}"
121-
git push origin "pyprctrl-${{ needs.get_version.outputs.version }}"
120+
git tag "pyprctl-${{ needs.get_version.outputs.version }}"
121+
git push origin "pyprctl-${{ needs.get_version.outputs.version }}"
122122
echo "NEW_RELEASE=true" >> $GITHUB_OUTPUT
123123
fi
124124
@@ -129,9 +129,9 @@ jobs:
129129
env:
130130
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
131131
with:
132-
tag_name: pyprctrl-${{ needs.get_version.outputs.version }}
133-
name: RPM Release pyprctrl-${{ needs.get_version.outputs.version }}
134-
body: Latest RPMs for pyprctrl-${{ needs.get_version.outputs.version }}
132+
tag_name: pyprctl-${{ needs.get_version.outputs.version }}
133+
name: RPM Release pyprctl-${{ needs.get_version.outputs.version }}
134+
body: Latest RPMs for pyprctl-${{ needs.get_version.outputs.version }}
135135
draft: false
136136
prerelease: false
137137
files: |

0 commit comments

Comments
 (0)