chore(goreleaser): publish to discord and brew (#3576)

* chore(goreleaser): publish to discord and brew

* chore: rename caos to zitadel

* chore: remove console and grpc upload
This commit is contained in:
Florian Forster 2022-05-02 15:15:11 +02:00 committed by GitHub
parent 648dd34b0c
commit a22efe6b83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 42 additions and 19 deletions

View File

@ -61,18 +61,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_VERSION: ${{ steps.semantic.outputs.release-version }} # I think this line is not needed. Nevertheless, it's explicit
- name: Publish gRPC clients
uses: actions/upload-artifact@v2
if: steps.semantic.outputs.new_release_published == 'true' && github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch'
with:
name: grpc-clients
path: .artifacts/grpc
- name: Publish console
uses: actions/upload-artifact@v2
if: steps.semantic.outputs.new_release_published == 'true' && github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch'
with:
name: console
path: .artifacts/console
- name: Publish go coverage
uses: codecov/codecov-action@v3.1.0
with:

View File

@ -1,10 +1,12 @@
project_name: zitadel
release:
github:
owner: zitadel
name: zitadel
draft: true
prerelease: auto
before:
hooks:
- docker build -f build/grpc/Dockerfile -t zitadel-base:local .
@ -14,6 +16,7 @@ before:
- docker build -f build/console/Dockerfile . -t zitadel-npm-base --target npm-copy -o .artifacts/grpc/js-client
- docker build -f build/console/Dockerfile . -t zitadel-npm-base --target angular-export -o .artifacts/console
- sh -c "cp -r .artifacts/console/* internal/api/ui/console/static/"
builds:
- env:
- CGO_ENABLED=0
@ -25,6 +28,7 @@ builds:
- amd64
- arm64
dist: .artifacts/goreleaser
dockers:
- image_templates:
- ghcr.io/zitadel/zitadel:{{ .Tag }}-amd64
@ -42,15 +46,46 @@ dockers:
dockerfile: build/Dockerfile
build_flag_templates:
- "--platform=linux/arm64"
archives:
- format: binary
gomod:
proxy: false
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
- tap:
owner: zitadel
name: zitadel-tap
folder: Formula
goarm: "7"
homepage: https://zitadel.ch
description: Open source identity solution built for the container and cloud era
license: Apache 2.0
test: |
system "#{bin}/zitadel -v"
dependencies:
- name: go
type: optional
- name: git
install: |-
bin.install "zitadel"
bash_completion.install "completions/zitadel.bash" => "zitadel"
zsh_completion.install "completions/zitadel.zsh" => "zitadel"
fish_completion.install "completions/gorezitadelleaser.fish"
man1.install "manpages/zitadel.1.gz"
announce:
discord:
enabled: true
message_template: 'ZITADEL {{ .Tag }} is ready! Check the notes: https://github.com/zitadel/zitadel/releases/tag/{{ .Tag }}'

View File

@ -46,8 +46,8 @@ See our [Documentation](https://docs.zitadel.ch/docs/quickstarts/introduction) t
### Client libraries
* [Go](https://github.com/zitadel/zitadel-go) client library
* [.NET](https://github.com/caos/zitadel-net) client library
* [Dart](https://github.com/caos/zitadel-dart) client library
* [.NET](https://github.com/zitadel/zitadel-net) client library
* [Dart](https://github.com/zitadel/zitadel-dart) client library
* [Elixir](https://github.com/jshmrtn/zitadel_api) client library (maintained by [jshmrtn]([jshmrtn](https://github.com/jshmrtn)))
## Help and Documentation

View File

@ -10,7 +10,7 @@ At the end of the guide you should have an application able to read the details
If you need any other information about the .NET SDK go to the [documentation](https://caos.github.io/zitadel-net/) of the SDK itself.
## Prerequisites
The client [SDK](https://github.com/caos/zitadel-net) will handle all necessary OAuth 2.0 requests and send the required headers to the ZITADEL API.
The client [SDK](https://github.com/zitadel/zitadel-net) will handle all necessary OAuth 2.0 requests and send the required headers to the ZITADEL API.
All that is required, is a service account with an Org Owner (or another role, depending on the needed api requests) role assigned and its key JSON.
However, we recommend you read the guide on [how to access ZITADEL API](../../guides/api/access-zitadel-apis) and the associated guides for a basic knowledge of :

View File

@ -44,6 +44,6 @@ Get started with ZITADEL quickly by reading a quickstart or by cloning an exampl
| Language | Description | Link |
| ------------ | ---------------------|-------------|
| Go | Go client library for ZITADEL. | [https://github.com/zitadel/zitadel-go](https://github.com/zitadel/zitadel-go)
| .Net | Authentication / Authorization library written in dotnet for the asp.net web application package. | [https://github.com/caos/zitadel-net](https://github.com/caos/zitadel-net)
| Dart | Dart library for ZITADEL, contains gRPC and API access elements. | [https://github.com/caos/zitadel-dart](https://github.com/caos/zitadel-dart) |
| .Net | Authentication / Authorization library written in dotnet for the asp.net web application package. | [https://github.com/zitadel/zitadel-net](https://github.com/zitadel/zitadel-net)
| Dart | Dart library for ZITADEL, contains gRPC and API access elements. | [https://github.com/zitadel/zitadel-dart](https://github.com/zitadel/zitadel-dart) |
| Elixir | API Client for the ZITADEL API. | [https://github.com/jshmrtn/zitadel_api](https://github.com/jshmrtn/zitadel_api) |

View File

@ -6,7 +6,7 @@ title: Libraries
| Language | Description | Link |
| ------------ | ---------------------|-------------|
| Go | Go client library for ZITADEL. | [https://github.com/zitadel/zitadel-go](https://github.com/zitadel/zitadel-go)
| .Net | Authentication / Authorization library written in dotnet for the asp.net web application package. | [https://github.com/caos/zitadel-net](https://github.com/caos/zitadel-net)
| Dart | Dart library for ZITADEL, contains gRPC and API access elements. | [https://github.com/caos/zitadel-dart](https://github.com/caos/zitadel-dart) |
| .Net | Authentication / Authorization library written in dotnet for the asp.net web application package. | [https://github.com/zitadel/zitadel-net](https://github.com/zitadel/zitadel-net)
| Dart | Dart library for ZITADEL, contains gRPC and API access elements. | [https://github.com/zitadel/zitadel-dart](https://github.com/zitadel/zitadel-dart) |
| Elixir | API Client for the ZITADEL API. | [https://github.com/jshmrtn/zitadel_api](https://github.com/jshmrtn/zitadel_api) |