Skip to content

Commit

Permalink
fix URI (append '/rc')
Browse files Browse the repository at this point in the history
  • Loading branch information
andy5995 committed May 19, 2023
1 parent b68c6f0 commit 5ed857a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set -ev
test -n "$VERSION"
test -n "$WORKSPACE"
APPDIR="$WORKSPACE/AppDir"
URI=https://releases.wildfiregames.com
URI=https://releases.wildfiregames.com/rc

svn=1
cmp_substr "$VERSION" "svn" || svn=0
Expand Down Expand Up @@ -66,7 +66,7 @@ if [ $svn -ne 1 ]; then
source=0ad-$VERSION-unix-build.tar.xz
source_sum=$source.sha1sum

for file in $source; do
for file in $source $source_sum; do
if [ ! -r "$file" ]; then
curl -LO "$URI/$file"
fi
Expand All @@ -78,7 +78,7 @@ if [ $svn -ne 1 ]; then
#fi
#$MINISIGN_PATH -Vm $source -P $MINISIGN_KEY
#fi
#sha1sum -c $source_sum
sha1sum -c $source_sum
tar xJf $WORKSPACE/$source
else
if [ ! -r "0ad-svn" ]; then
Expand Down Expand Up @@ -110,7 +110,7 @@ if [ $svn -ne 1 ]; then
data=0ad-$VERSION-unix-data.tar.xz
data_sum=$data.sha1sum
echo "Getting data and extracting archive..."
for file in $data; do
for file in $data $data_sum; do
if [ ! -r "$file" ]; then
curl -LO "$URI/$file"
fi
Expand All @@ -121,7 +121,7 @@ if [ $svn -ne 1 ]; then
#fi

#$MINISIGN_PATH -Vm $data -P $MINISIGN_KEY
#sha1sum -c $data_sum
sha1sum -c $data_sum
tar xJf $data
fi

Expand Down

0 comments on commit 5ed857a

Please sign in to comment.