Skip to content

Commit

Permalink
chore: delete release version check [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrious committed Dec 5, 2024
1 parent fa5e61e commit b9079b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,6 @@ jobs:
# Get release version
RELEASE_VERSION=${GITHUB_REF#refs/tags/}
# Validate release tag format
if ! [[ $RELEASE_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Error: Invalid release tag format!"
echo "Release tag must follow the format: 1.2.3 (MAJOR.MINOR.PATCH)"
echo "Got: $RELEASE_VERSION"
exit 1
fi
# Validate package.json version format
if ! [[ $PKG_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Error: Invalid package.json version format!"
echo "Version must follow SemVer format: 1.2.3 (MAJOR.MINOR.PATCH)"
echo "Got: $PKG_VERSION"
exit 1
fi
echo "Package.json version: $PKG_VERSION"
echo "Release version: $RELEASE_VERSION"
Expand Down Expand Up @@ -94,12 +78,3 @@ jobs:
files: "oopilot-${{ matrix.platform }}.vsix"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Release to VS Code Marketplace
# uses: nick-fields/retry@v3
# with:
# timeout_minutes: 5
# max_attempts: 6
# retry_on: error
# retry_wait_seconds: 10
# command: npx vsce publish --packagePath "oopilot-${{ matrix.platform }}.vsix" -p ${{ secrets.VSCODE_MARKETPLACE_TOKEN }}
2 changes: 1 addition & 1 deletion src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class SessionManager extends vscode.Disposable {
*/
private async handleActiveSession(): Promise<void> {
logger.info("GitHub session established");
if (await storage.get("github.support")) {
if (storage.get("github.support")) {
this.starGitHubRepository();
} else {
this.showGithubSupportNotification();
Expand Down

0 comments on commit b9079b6

Please sign in to comment.