Skip to content

Commit

Permalink
fix: publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
Diegiwg committed Jun 26, 2024
1 parent fb52ece commit e295d3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.3.5
v1.3.7
6 changes: 5 additions & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@ git tag "$VERSION"
# Push the new tag version
git push origin "$VERSION"

# Wait for the new version to be published
echo "Waiting for pkg.go.dev to publish the new version..."
sleep 10

# Publish the new version
GOPROXY=proxy.golang.org go list -m github.com/Diegiwg/tt@"$VERSION"
GOPROXY=proxy.golang.org go list -m github.com/Diegiwg/tt@"$VERSION" &

# Test if the version was published
echo "Getting the version from https://pkg.go.dev/github.com/Diegiwg/tt@$VERSION..."
Expand Down

0 comments on commit e295d3f

Please sign in to comment.