Skip to content

Commit

Permalink
fix: tune release script (#839)
Browse files Browse the repository at this point in the history
* fix: unstash does not exist

* fix: use the right IRL endpoint for go proxy
  • Loading branch information
mdelapenya authored Feb 16, 2023
1 parent 34481cf commit 0572ed8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ function curlGolangProxy() {
fi

# e.g.:
# github.com/testcontainers/testcontainers-go/v0.0.1
# github.com/testcontainers/testcontainers-go/modules/mongodb/v0.0.1
curl "https://proxy.golang.org/${module_path}/@v/${module_version}"
# github.com/testcontainers/testcontainers-go/v0.0.1.info
# github.com/testcontainers/testcontainers-go/modules/mongodb/v0.0.1.info
curl "https://proxy.golang.org/${module_path}/@v/${module_version}.info"
}

# This function reads the version.go file and extracts the current version.
Expand Down Expand Up @@ -140,7 +140,7 @@ function gitState() {
}

function gitUnstash() {
gitFn unstash
gitFn stash pop
}

# This function is used to create a tag for the module.
Expand Down

0 comments on commit 0572ed8

Please sign in to comment.