Skip to content

Commit bdbc705

Browse files
committed
Add Go example
1 parent 6eb6804 commit bdbc705

File tree

4 files changed

+20
-1
lines changed

4 files changed

+20
-1
lines changed

docs/modules/ROOT/pages/index.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ JReleaser is a release automation tool. Its goal is to simplify creating release
44
to multiple package managers while providing customizable options. However, you may also use it with projects that do
55
not require publishing binary assets. The tool can be used to create Git releases (tag, changelog, assets), announce releases,
66
assemble additional binaries and files to be published via package managers. JReleaser supports any kind of project regardless
7-
of its source language (Java, Node, Rust, Perl, Python, C/C++, C#, Elixir, Haskell, etc), although it provides additional
7+
of its source language (Java, Go, Node, Rust, Perl, Python, C/C++, C#, Elixir, Haskell, etc), although it provides additional
88
benefits to Java based projects.
99

1010
Examples of Java projects:
@@ -22,6 +22,7 @@ Examples of non-Java projects:
2222
* xref:examples:miscellaneous/crystal.adoc[]
2323
* xref:examples:miscellaneous/csharp-cross-platform.adoc[]
2424
* xref:examples:miscellaneous/elixir.adoc[]
25+
* xref:examples:miscellaneous/go.adoc[]
2526
* xref:examples:miscellaneous/haskell.adoc[]
2627
* xref:examples:miscellaneous/perl.adoc[]
2728
* xref:examples:miscellaneous/rust-cross-platform.adoc[]

docs/modules/examples/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
*** xref:miscellaneous/crystal.adoc[]
2626
*** xref:miscellaneous/csharp-cross-platform.adoc[]
2727
*** xref:miscellaneous/elixir.adoc[]
28+
*** xref:miscellaneous/go.adoc[]
2829
*** xref:miscellaneous/haskell.adoc[]
2930
*** xref:miscellaneous/perl.adoc[]
3031
*** xref:miscellaneous/rust-cross-platform.adoc[]
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
= Helloworld in Go
2+
3+
The link:https://github.com/jreleaser/helloworld-go[] repository shows how to configure link:https://github.com/features/actions[GitHub Actions] and link:https://jreleaser.org/[JReleaser] to:
4+
5+
* compile a helloworld app for the following targets:
6+
** `linux-amd64`
7+
** `linux-arm64`
8+
** `darwin-arm64`
9+
** `darwin-amd64`
10+
** `windows-amd64`
11+
** `windows-arm64`
12+
* assemble zip distributions with JReleaser
13+
* create rolling early-access releases with JReleaser on every push to `main` branch
14+
15+
IMPORTANT: JReleaser requires 2 additional inputs that may be set as environment variables, `JRELEASER_PROJECT_VERSION` and `JRELEASER_GITHUB_TOKEN`.
16+
More information about environment variable configuration may be found in the link:https://jreleaser.org/guide/latest/reference/environment.html[guide].

docs/modules/examples/pages/miscellaneous/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* xref:miscellaneous/crystal.adoc[]
99
* xref:miscellaneous/csharp-cross-platform.adoc[]
1010
* xref:miscellaneous/elixir.adoc[]
11+
* xref:miscellaneous/go.adoc[]
1112
* xref:miscellaneous/haskell.adoc[]
1213
* xref:miscellaneous/perl.adoc[]
1314
* xref:miscellaneous/rust-cross-platform.adoc[]

0 commit comments

Comments
 (0)