Skip to content

Commit 180e177

Browse files
publish rpm no make
1 parent d2f8bca commit 180e177

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/packing.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,11 @@ jobs:
364364
path: rpm_dist
365365

366366
- name: Publish artifacts
367-
run: make rpm-dist-publish
367+
run: |
368+
FILE_FLAGS = find rpm_dist/ -type f -regex '.*\.rpm' \
369+
| xargs -I {} sh -c 'echo -F $(basename {})=@{}' | xargs
370+
curl -v -LfsS -X PUT $RWS_REPO/release/modules/$OS/$DIST \
371+
-F product=python3-tarantool $(FILE_FLAGS) -u $RWS_AUTH
368372
env:
369373
RWS_REPO: https://rws.tarantool.org
370374
RWS_AUTH: ${{ secrets.RWS_AUTH }}

Makefile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,6 @@ rpm-dist:
6161
rpm-dist-check:
6262
rpm -K --nosignature rpm_dist/*.rpm
6363

64-
.PHONY: rpm-dist-publish
65-
rpm-dist-publish:
66-
$(eval FILE_FLAGS := $(shell find rpm_dist/ -type f -regex '.*\.rpm'
67-
| xargs -I {} sh -c 'echo -F $$(basename {})=@{}' | xargs))
68-
curl -v -LfsS -X PUT ${RWS_REPO}/release/modules/${OS}/${DIST} \
69-
-F product=python3-tarantool $(FILE_FLAGS) -u ${RWS_AUTH}
70-
7164

7265
.PHONY: deb-changelog-entry
7366
deb-changelog-entry:

0 commit comments

Comments
 (0)