Announce build_meta.json and simplify scripts

This commit is contained in:
FriwiDev
2021-11-16 00:31:16 +01:00
parent 018080b2ed
commit 3e63d617ab
3 changed files with 117 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
if [ ! $# -eq 1 ]
then
echo "Usage: ./announce_build_meta.sh <releaserepo>"
echo ""
echo "releaserepo: Release repository on github - e.g. jcefmaven/jcefmaven"
exit 1
fi
#Announce build_meta.json to other jobs
(
echo "build_meta=https://github.com/$1/releases/download/"
cat release_tag.txt
echo "/build_meta.json"
) | awk '{print}' ORS='' >> $GITHUB_ENV
echo "" >> $GITHUB_ENV