Skip to content

Commit 3ef0ad3

Browse files
committed
chore: update prepare-release.sh script
* update prepare-release.sh script to include action-types.yml file in release
1 parent c3a5e4e commit 3ef0ad3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/prepare-release.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ npm prune --production
4444
rm -rf .release
4545
mkdir -p .release
4646

47-
cp action.yml package.json package-lock.json .release/
47+
cp action.yml action-types.yml package.json package-lock.json .release/
4848
rsync -R -v dist/src/*.js .release/
4949
rsync -R -v dist/src/**/*.js .release/
5050
cp -R node_modules .release/node_modules
@@ -58,11 +58,12 @@ rm -rf dist
5858
mkdir -p dist/src
5959

6060
mv .release/action.yml .
61+
mv .release/action-types.yml .
6162
mv .release/dist/src/ ./dist/
6263
mv .release/*.json .
6364
mv .release/node_modules .
6465

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

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

0 commit comments

Comments
 (0)