Skip to content

Commit 389b006

Browse files
committed
chore: rename publish-files.txt -> .log
1 parent 4481553 commit 389b006

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ _site
88
build/
99
dist/
1010
node_modules/
11-
publish-files.txt

script/postpublish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ npx action-status --context="$PUBLISH_STATUS_CONTEXT" \
77
--description="published $version" \
88
--url="https://unpkg.com/$slug/"
99

10-
file=publish-files.txt
10+
file=publish-files.log
1111
if [[ -f $file ]]; then
1212
echo "deleting all files listed in $file..."
1313
cat $file | xargs rm -rfv

script/prepublish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ npx action-status --context="$PUBLISH_STATUS_CONTEXT" \
99
npm run dist
1010

1111
files=$(git ls-files src | sed -e 's#^src/##' | sed -e 's#/.*$##' | sort -u)
12-
echo $files > publish-files.txt
12+
echo $files > publish-files.log
1313
cd src
1414
cp -rv $files ..
1515
cd -

0 commit comments

Comments
 (0)