mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 03:18:11 +08:00
Fix build script to use correct branch name
This commit is contained in:
+5
-1
@@ -1,6 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
git switch master || git switch -c master
|
if [[ -z "${CF_PAGES_BRANCH}" ]]; then
|
||||||
|
git switch master || git switch -c unknown-branch
|
||||||
|
else
|
||||||
|
git switch $CF_PAGES_BRANCH || git switch -c $CF_PAGES_BRANCH
|
||||||
|
fi
|
||||||
|
|
||||||
echo 🔧 Install Rust
|
echo 🔧 Install Rust
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||||
|
|||||||
Reference in New Issue
Block a user