mirror of
https://github.com/pepaskopec-blip/Graduately.git
synced 2026-10-27 15:14:35 +00:00
Rename published packages and installers from maturita-* to graduately-*.
Keep temporary legacy aliases on the builds branch so older updaters still find downloads. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
8891bb2a38
commit
bce63459d1
35 changed files with 197 additions and 158 deletions
|
|
@ -7,7 +7,7 @@ set -eu
|
|||
cd "$(dirname "$0")"
|
||||
here=$PWD
|
||||
|
||||
chmod +x maturita-installer-macos.command maturita-installer-linux.sh
|
||||
chmod +x graduately-installer-macos.command graduately-installer-linux.sh
|
||||
|
||||
tmp=$(mktemp -d)
|
||||
trap 'rm -rf "$tmp"' EXIT INT TERM
|
||||
|
|
@ -15,25 +15,25 @@ trap 'rm -rf "$tmp"' EXIT INT TERM
|
|||
app="$tmp/Nainstalovat Graduately.app"
|
||||
mkdir -p "$app/Contents/MacOS"
|
||||
cp macos/Info.plist "$app/Contents/Info.plist"
|
||||
cp maturita-installer-macos.command "$app/Contents/MacOS/installer"
|
||||
cp graduately-installer-macos.command "$app/Contents/MacOS/installer"
|
||||
chmod +x "$app/Contents/MacOS/installer"
|
||||
|
||||
rm -f "$here/maturita-installer-macos.zip"
|
||||
(cd "$tmp" && zip -r -q "$here/maturita-installer-macos.zip" \
|
||||
rm -f "$here/graduately-installer-macos.zip"
|
||||
(cd "$tmp" && zip -r -q "$here/graduately-installer-macos.zip" \
|
||||
"Nainstalovat Graduately.app")
|
||||
|
||||
zip -q -FS maturita-installer-windows.zip maturita-installer-windows.cmd
|
||||
zip -q -FS maturita-installer-linux.zip maturita-installer-linux.sh
|
||||
zip -q -FS graduately-installer-windows.zip graduately-installer-windows.cmd
|
||||
zip -q -FS graduately-installer-linux.zip graduately-installer-linux.sh
|
||||
|
||||
# Browsers download a zip; they render .html as a text tab on GitHub.
|
||||
# The page looks up the tip of `builds` so Fastly cannot serve a cached 404
|
||||
# for the branch-named APK URL.
|
||||
cp maturita-android.html "$tmp/Stahnout Graduately.html"
|
||||
rm -f "$here/maturita-installer-android.zip"
|
||||
(cd "$tmp" && zip -q -FS "$here/maturita-installer-android.zip" \
|
||||
cp graduately-android.html "$tmp/Stahnout Graduately.html"
|
||||
rm -f "$here/graduately-installer-android.zip"
|
||||
(cd "$tmp" && zip -q -FS "$here/graduately-installer-android.zip" \
|
||||
"Stahnout Graduately.html")
|
||||
|
||||
cp maturita-ios.html "$tmp/Jak nainstalovat Graduately.html"
|
||||
rm -f "$here/maturita-installer-ios.zip"
|
||||
(cd "$tmp" && zip -q -FS "$here/maturita-installer-ios.zip" \
|
||||
cp graduately-ios.html "$tmp/Jak nainstalovat Graduately.html"
|
||||
rm -f "$here/graduately-installer-ios.zip"
|
||||
(cd "$tmp" && zip -q -FS "$here/graduately-installer-ios.zip" \
|
||||
"Jak nainstalovat Graduately.html")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue