💥 fix(scripts/release): wrong gresource target
This commit is contained in:
+3
-3
@@ -1,7 +1,6 @@
|
||||
set -e
|
||||
|
||||
outdir="./build/release"
|
||||
gresource_file='$XDG_LOCAL_HOME/colorshell/resources.gresource' # send literal variable name, so it's interpreted in the shell rather than in the build
|
||||
|
||||
while getopts o:r:h args; do
|
||||
case "$args" in
|
||||
@@ -16,7 +15,7 @@ while getopts o:r:h args; do
|
||||
colorshell's automated release-build script.
|
||||
|
||||
options:
|
||||
-r \$file: gresource's target path (shell-only, file is kept in \$output. default: \$XDG_LOCAL_HOME/colorshell/resources.gresource)
|
||||
-r \$file: gresource's target path (shell-only, file is kept in \$output. default: \$XDG_DATA_HOME/colorshell/resources.gresource)
|
||||
-o \$path: build output path (default: \`./build/release\`)
|
||||
-h: show this help message"
|
||||
exit 0
|
||||
@@ -24,4 +23,5 @@ options:
|
||||
esac
|
||||
done
|
||||
|
||||
pnpm build -o "${outdir:-./build/release}" -b -r "${gresource_file:-\$XDG_LOCAL_HOME/colorshell/resources.gresource}"
|
||||
# send literal variable name, so it's interpreted in the shell rather than in the build
|
||||
pnpm build -o "${outdir:-./build/release}" -b -r "${gresource_file:-\$XDG_DATA_HOME/colorshell/resources.gresource}"
|
||||
|
||||
Reference in New Issue
Block a user