This commit is contained in:
@@ -27,11 +27,8 @@ jobs:
|
||||
# rpmbuild -ba Pmodules_modules.spec
|
||||
|
||||
# spectool -g -R Pmodules_bash.spec
|
||||
mkdir SOURCES
|
||||
curl -L \
|
||||
-H "Authorization: token ${{ secrets.ACCESSKEY }}" \
|
||||
-o SOURCES/bash-5.2.37.tar.gz \
|
||||
"https://gitea.psi.ch/Pmodules/bash/archive/bash-5.2.37.tar.gz"
|
||||
|
||||
export ACCESSKEY="${{ secrets.ACCESSKEY }}"
|
||||
rpmbuild -ba Pmodules_bash.spec
|
||||
|
||||
# list generated rpms
|
||||
|
||||
+1
-2
@@ -25,8 +25,7 @@ incorporates useful features from the Korn shell (ksh) and the C shell
|
||||
(csh). Most sh scripts can be run by bash without modification.
|
||||
|
||||
%prep
|
||||
%setup -q -n bash-%{version}
|
||||
token=${ACCESSTOKEN:-}
|
||||
token=${ACCESSKEY:-}
|
||||
if [ -n "$token" ]; then
|
||||
curl -L \
|
||||
-H "Authorization: token $token" \
|
||||
|
||||
Reference in New Issue
Block a user