Something went wrong. Try again.
opencode v2 mirror
Something went wrong. Try again.
123456789101112131415#!/usr/bin/env bash# Get the latest Git taglatest_tag=$(git tag --sort=committerdate | grep -E '^github-v[0-9]+\.[0-9]+\.[0-9]+$' | tail -1)if [ -z "$latest_tag" ]; then echo "No tags found" exit 1fiecho "Latest tag: $latest_tag"# Update latest taggit tag -d latestgit push origin :refs/tags/latestgit tag -a latest $latest_tag -m "Update latest to $latest_tag"git push origin latest