Skip to content

Commit

Permalink
update go plugin (#2938)
Browse files Browse the repository at this point in the history
* update go plugin

* Sort tags better
  • Loading branch information
Tatskaari authored Nov 13, 2023
1 parent 36cecf6 commit 7e89f3a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ genrule(
plugins = {
"python": "v1.5.0",
"java": "v0.3.0",
"go": "v1.9.2",
"go": "v1.11.2",
"cc": "v0.4.0",
"shell": "v0.2.0",
"go-proto": "v0.2.1",
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/lint_plugin_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ URL_PREFIX="https://github.com/please-build/"

failed=0
for plugin in "${PLUGINS[@]}"; do
latest=$(git ls-remote --tags "${URL_PREFIX}""${plugin}"-rules.git | sed 's/.*\///' | sed '/^v[0-9]\+\.[0-9]\+\.[0-9]\+$/!d' | tail -n 1)
latest=$(git ls-remote --tags --sort=version:refname "${URL_PREFIX}""${plugin}"-rules.git | sed 's/.*\///' | sed '/^v[0-9]\+\.[0-9]\+\.[0-9]\+$/!d' | tail -n 1)
if [ -z "$latest" ]; then
echo "No tags found for ${plugin}"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion plugins/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugin_repo(
name = "go",
plugin = "go-rules",
revision = "v1.8.0",
revision = "v1.11.2",
)

plugin_repo(
Expand Down

0 comments on commit 7e89f3a

Please sign in to comment.