Skip to content

Commit

Permalink
bump: groovy groovy-docs (#731)
Browse files Browse the repository at this point in the history
* bump: groovy

Signed-off-by: madomado <[email protected]>

* Update groovy.spec

Signed-off-by: madomado <[email protected]>

* Update update.rhai

Signed-off-by: madomado <[email protected]>

* Update groovy-docs.spec

Signed-off-by: madomado <[email protected]>

---------

Signed-off-by: madomado <[email protected]>
  • Loading branch information
madonuko authored Oct 7, 2023
1 parent 57fe1e9 commit b5dc75b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion anda/groovy/groovy-docs/groovy-docs.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: groovy-docs
Version: 5.0.0.ALPHA.2
Version: 4.0.15
Release: 1%{?dist}
Summary: Documentation for the Groovy programming language
URL: https://groovy-lang.org/
Expand Down
6 changes: 2 additions & 4 deletions anda/groovy/groovy-docs/update.rhai
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
let ver = gh_tag("apache/groovy");
ver.replace("GROOVY_", "");
ver.replace("_", ".");
rpm.version(ver);
let html = req("https://groovy.apache.org/download.html");
rpm.version(find(`onclick='window\\.location\\.href="https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-sdk-([\\d.]+)\\.zip"'>`, html, 1));
2 changes: 1 addition & 1 deletion anda/groovy/groovy.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: groovy
Version: 5.0.0.ALPHA.2
Version: 4.0.15
Release: 1%{?dist}
Summary: A multi-faceted language for the Java platform
BuildArch: noarch
Expand Down
6 changes: 2 additions & 4 deletions anda/groovy/update.rhai
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
let ver = gh_tag("apache/groovy");
ver.replace("GROOVY_", "");
ver.replace("_", ".");
rpm.version(ver);
let html = req("https://groovy.apache.org/download.html");
rpm.version(find(`onclick='window\\.location\\.href="https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-sdk-([\\d.]+)\\.zip"'>`, html, 1));

0 comments on commit b5dc75b

Please sign in to comment.