Skip to content

Commit

Permalink
build: rename vsix file in release workflow
Browse files Browse the repository at this point in the history
- Update file name in release.yml
- Update file name in release.sh
  • Loading branch information
VizzleTF committed Jan 21, 2025
1 parent d2ed139 commit 26778b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
prerelease: false
});
const vsixFile = `commitsage-${process.env.VERSION}.vsix`;
const vsixFile = `geminicommit-${process.env.VERSION}.vsix`;
console.log(`Looking for file: ${vsixFile}`);
if (fs.existsSync(vsixFile)) {
Expand Down
6 changes: 0 additions & 6 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ case $choice in
esac

echo "New version will be: $new_version"
read -p "Do you want to proceed? (y/n): " confirm

if [ "$confirm" != "y" ]; then
echo "Operation cancelled. Exiting."
exit 0
fi

# Update package.json
sed -i '' "s/\"version\": \"$current_version\"/\"version\": \"$new_version\"/" package.json
Expand Down

0 comments on commit 26778b7

Please sign in to comment.