Skip to content

Commit

Permalink
add nuget to PATH and tag 64 bit release build
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckisson committed May 14, 2024
1 parent 913352a commit 557e012
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CI/deploy-mudlet-for-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ fi

cd "$GITHUB_WORKSPACE" || exit 1

# Add nuget location to PATH
PATH="/c/ProgramData/Chocolatey/bin:${PATH}"
export PATH

PublicTestBuild=false
# Check if GITHUB_REPO_TAG is "false"
if [[ "$GITHUB_REPO_TAG" == "false" ]]; then
Expand Down Expand Up @@ -227,6 +231,11 @@ else
TestBuildString=""
InstallerIconFile="$GITHUB_WORKSPACE/src/icons/mudlet.ico"
fi

# Ensure 64 bit build is properly tagged
if [ "${MSYSTEM}" = "MINGW64" ]; then
TestBuildString="_64_$TestBuildString"
fi

nupkg_path="$GITHUB_WORKSPACE/squirrel-packaging-prep/Mudlet$TestBuildString.$VersionAndSha.nupkg"
if [[ ! -f "$nupkg_path" ]]; then
Expand Down

0 comments on commit 557e012

Please sign in to comment.