mirror of
https://github.com/3proxy/3proxy.git
synced 2026-04-13 00:10:11 +08:00
Update workflows and makefiles (5 commits squashed)
This commit is contained in:
parent
c61ce2217d
commit
9431810309
5
.github/workflows/build-rpm-x86-64.yml
vendored
5
.github/workflows/build-rpm-x86-64.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: RPM build
|
name: RPM build x86-64
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -33,7 +33,8 @@ jobs:
|
|||||||
run: mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
|
run: mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
|
||||||
- name: configure rpm env
|
- name: configure rpm env
|
||||||
run: |
|
run: |
|
||||||
git archive --format=tar --prefix=3proxy-$RELEASE/ master | gzip >~/rpmbuild/SOURCES/3proxy-$RELEASE.tar.gz
|
tar -czf ~/rpmbuild/SOURCES/3proxy-$RELEASE.tar.gz --transform "s,^,3proxy-$RELEASE/," .
|
||||||
|
ln -s ~/rpmbuild/SOURCES/3proxy-$RELEASE.tar.gz ~/rpmbuild/SOURCES/$RELEASE.tar.gz
|
||||||
cp scripts/rh/3proxy.spec ~/rpmbuild/SPECS/3proxy-$RELEASE.spec
|
cp scripts/rh/3proxy.spec ~/rpmbuild/SPECS/3proxy-$RELEASE.spec
|
||||||
- name: rpmbuild
|
- name: rpmbuild
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user