mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-11-15 05:33:42 +08:00
Announce build_meta.json and simplify scripts
This commit is contained in:
17
release_gen/announce_build_meta.sh
Normal file
17
release_gen/announce_build_meta.sh
Normal 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
|
||||
Reference in New Issue
Block a user