Skip to content

Commit

Permalink
fix: add version.txt to correct path in packages
Browse files Browse the repository at this point in the history
  • Loading branch information
builder555 committed Nov 22, 2023
1 parent b6708d5 commit 33192db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ fi
zip_path="$(dirname "${PWD}")/${name}.zip"

pushd dist || exit
cp version.txt main_server/
zip -r "${zip_path}" main_server/ serve/

popd || exit
zip -u -j "${zip_path}" ci/start.sh version.txt
zip -u -j "${zip_path}" ci/start.sh

echo "asset_path=$zip_path" >> "$GITHUB_OUTPUT"
echo "asset_name=${name}.zip" >> "$GITHUB_OUTPUT"

0 comments on commit 33192db

Please sign in to comment.