Skip to content

Commit

Permalink
chore: update prepare-release.sh script
Browse files Browse the repository at this point in the history
* update prepare-release.sh script to include action-types.yml file in release
  • Loading branch information
ktrz committed Oct 23, 2024
1 parent c3a5e4e commit 3ef0ad3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ npm prune --production
rm -rf .release
mkdir -p .release

cp action.yml package.json package-lock.json .release/
cp action.yml action-types.yml package.json package-lock.json .release/
rsync -R -v dist/src/*.js .release/
rsync -R -v dist/src/**/*.js .release/
cp -R node_modules .release/node_modules
Expand All @@ -58,11 +58,12 @@ rm -rf dist
mkdir -p dist/src

mv .release/action.yml .
mv .release/action-types.yml .
mv .release/dist/src/ ./dist/
mv .release/*.json .
mv .release/node_modules .

git add action.yml ./dist/src/*.js package.json package-lock.json node_modules
git add action.yml action-types.yml ./dist/src/*.js package.json package-lock.json node_modules
set +x

echo "Done. Please check 'git diff --cached' to verify changes. If ok, add version tag and push it to remote"

0 comments on commit 3ef0ad3

Please sign in to comment.