Skip to content

Commit

Permalink
Revert server_manager/electron_app/package.action.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Apr 15, 2024
1 parent e8988e4 commit bc2b5e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server_manager/electron_app/package.action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set -eu
SCRIPT_DIR="$(dirname "$0")"
PROJECT_DIR="${BUILD_DIR}/server_manager/electron_app/static"
BUILD_MODE=debug
PLATFORM=
PLATFORM=

function package_electron() {
declare -a electron_builder_cmd=(
Expand Down Expand Up @@ -54,7 +54,7 @@ function finish_yaml_files() {
declare -r staging_percentage="${1?Staging percentage missing}"

local release_channel
release_channel=$(node_modules/node-jq/bin/jq -r '.version' server_manager/package.json | cut -s -d'-' -f2)
release_channel=$(node_modules/node-jq/bin/jq -r '.version' src/server_manager/package.json | cut -s -d'-' -f2)
# If this isn't an alpha or beta build, `cut -s` will return an empty string
if [[ -z "${release_channel}" ]]; then
release_channel=latest
Expand Down

0 comments on commit bc2b5e8

Please sign in to comment.