Skip to content

Commit

Permalink
Publish workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
agrawal-d committed Jun 4, 2024
1 parent 5617d87 commit 79a1645
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .github/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ if [ -z "$VSCE_PAT" ]; then
exit 1
fi

# Print first 3 and last 3 chars of PAT
echo "VSCE_PAT: $(echo $VSCE_PAT | cut -c1-3)***$(echo $VSCE_PAT | rev | cut -c1-3 | rev)"

set -e
set -x

Expand All @@ -18,6 +15,6 @@ month=$(date +%-m)
epoch=$(date +%s)
version="$year.$month.$epoch"

vsce publish $version
vsce publish --allow-star-activation --no-git-tag-version $version

echo "Published version $version"
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "GPL-3.0-or-later",
"icon": "icon.png",
"publisher": "DivyanshuAgrawal",
"version": "6.1.0",
"version": "2024.6.1717519178",
"engines": {
"vscode": "^1.52.0"
},
Expand Down

0 comments on commit 79a1645

Please sign in to comment.