Something went wrong. Try again.
opencode v2 mirror
Something went wrong. Try again.
12345678910111213141516171819202122#!/usr/bin/env bashset -euo pipefail# Get the latest Git taglatest_tag=$(git tag --sort=committerdate | grep -E '^vscode-v[0-9]+\.[0-9]+\.[0-9]+$' | tail -1)if [ -z "$latest_tag" ]; then echo "No tags found" exit 1fiecho "Latest tag: $latest_tag"version=$(echo "$latest_tag" | sed 's/^vscode-v//')echo "Latest version: $version"# package-marketplacevsce package --no-git-tag-version --no-update-package-json --no-dependencies --skip-license -o dist/opencode.vsix "$version"# publish-marketplacevsce publish --packagePath dist/opencode.vsix# publish-openvsxnpx ovsx publish dist/opencode.vsix -p "$OPENVSX_TOKEN"