Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:26
erlang
3295-Test-on-existence-instead-of-release.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 3295-Test-on-existence-instead-of-release.patch of Package erlang
From 7d9fd8cb6d53c995c1fa3fbefd9cb8c20225d972 Mon Sep 17 00:00:00 2001 From: Raimo Niskanen <raimo@erlang.org> Date: Mon, 15 Jul 2024 17:26:41 +0200 Subject: [PATCH 5/5] Test on existence instead of release --- .github/scripts/create-artifacts.sh | 3 ++- .github/scripts/release-docs.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/scripts/create-artifacts.sh b/.github/scripts/create-artifacts.sh index 5d5237800e..1fe8844e20 100755 --- a/.github/scripts/create-artifacts.sh +++ b/.github/scripts/create-artifacts.sh @@ -8,5 +8,6 @@ mkdir ${DIR} tar -xzf otp_src.tar.gz mv otp otp_src_${VSN} tar -czf ${DIR}/otp_src_${VSN}.tar.gz otp_src_${VSN} -mv otp_doc_man.tar.gz ${DIR}/otp_doc_man_${VSN}.tar.gz +test -x otp_doc_man.tar.gz && + mv otp_doc_man.tar.gz ${DIR}/otp_doc_man_${VSN}.tar.gz mv otp_doc_html.tar.gz ${DIR}/otp_doc_html_${VSN}.tar.gz diff --git a/.github/scripts/release-docs.sh b/.github/scripts/release-docs.sh index 532845b9dc..9852504854 100755 --- a/.github/scripts/release-docs.sh +++ b/.github/scripts/release-docs.sh @@ -8,7 +8,7 @@ else fi sudo chown -R `whoami` docs cd docs -if [[ ${release} < 27 ]]; then +if test -x man; then tar czf ../otp_doc_man.tar.gz man rm -rf man fi -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor