mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
corrected scripts
This commit is contained in:
parent
cbcbc879c9
commit
af9c57800c
0
buildScripts/createImages
Normal file → Executable file
0
buildScripts/createImages
Normal file → Executable file
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
# This bash script gets and unpacks the latest fontforge AppImage
|
# This bash script gets and unpacks the latest fontforge AppImage
|
||||||
|
|
||||||
|
source buildScripts/reSourceVersionEnvs
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "-------------------------------------------------------------------"
|
echo "-------------------------------------------------------------------"
|
||||||
echo "GETTING FontForge sources (using wget)"
|
echo "GETTING FontForge sources (using wget)"
|
||||||
@ -9,9 +11,6 @@ echo " (FONTFORGE_VERSION: [$FONTFORGE_VERSION])"
|
|||||||
echo "-------------------------------------------------------------------"
|
echo "-------------------------------------------------------------------"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
|
||||||
source buildScripts/reSourceVersionEnvs
|
|
||||||
|
|
||||||
FONTFORGE_SRC=$FONTFORGE_VERSION.tar.gz
|
FONTFORGE_SRC=$FONTFORGE_VERSION.tar.gz
|
||||||
|
|
||||||
rm -rf $FONTFORGE_SRC
|
rm -rf $FONTFORGE_SRC
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
source ./buildScripts/reSourceVersionEnvs
|
source ./buildScripts/reSourceVersionEnvs
|
||||||
source ./buildScripts/uploadReleaseDSL
|
source ./buildScripts/uploadGitHubReleaseDSL
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "-------------------------------------------------------------------"
|
echo "-------------------------------------------------------------------"
|
||||||
@ -79,33 +79,3 @@ uploadAnAsset $upload_url appImageName "text/plain"
|
|||||||
uploadAnAsset $upload_url buildTime "text/plain"
|
uploadAnAsset $upload_url buildTime "text/plain"
|
||||||
uploadAnAsset $upload_url dockerImageName "text/plain"
|
uploadAnAsset $upload_url dockerImageName "text/plain"
|
||||||
uploadAnAsset $upload_url $APPIMAGE_NAME "application/zip"
|
uploadAnAsset $upload_url $APPIMAGE_NAME "application/zip"
|
||||||
|
|
||||||
##################################
|
|
||||||
# push docker image
|
|
||||||
#
|
|
||||||
if [ -x "$(which docker)" ]; then
|
|
||||||
|
|
||||||
if [ -z "$DOCKER_USERNAME" ]; then
|
|
||||||
echo ""
|
|
||||||
read -p "Enter the Docker usernane): " DOCKER_USERNAME
|
|
||||||
echo ""
|
|
||||||
if [ -z "$DOCKER_USERNAME" ]; then
|
|
||||||
echo "DOCKER_USERNAME not set... so we do not know where to push image."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "$DOCKER_PASSWORD" ]; then
|
|
||||||
echo ""
|
|
||||||
echo "Please type your the Docker hub password"
|
|
||||||
docker login -u "$DOCKER_USERNAME"
|
|
||||||
else
|
|
||||||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
|
||||||
fi
|
|
||||||
|
|
||||||
docker push $DOCKER_USERNAME/pdf2htmlex
|
|
||||||
|
|
||||||
else
|
|
||||||
echo "Docker is not installed... skipping upload of docker image."
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user