Skip to content
Snippets Groups Projects
Select Git revision
  • c451621710ea883a429ada8debc441aad1402bbc
  • prerel default protected
  • remove-unused-upload
  • dependabot/go_modules/github.com/valyala/fasthttp-1.65.0
  • dependabot/go_modules/github.com/redis/go-redis/v9-9.12.1
  • dependabot/go_modules/golang.org/x/crypto-0.41.0
  • dependabot/go_modules/golang.org/x/mod-0.27.0
  • dependabot/go_modules/github.com/coreos/go-oidc/v3-3.15.0
  • dependabot/go_modules/github.com/olekukonko/tablewriter-1.0.9
  • dependabot/go_modules/github.com/gofiber/fiber/v2-2.52.9
  • dependabot/go_modules/github.com/gofiber/template/mustache/v2-2.0.14
  • dependabot/go_modules/github.com/go-sql-driver/mysql-1.9.3
  • dependabot/go_modules/github.com/zachmann/go-oidfed-0.4.0
  • master protected
  • dependabot/go_modules/github.com/coreos/go-oidc/v3-3.8.0
  • dependabot/go_modules/golang.org/x/mod-0.14.0
  • dependabot/go_modules/github.com/gofiber/fiber/v2-2.51.0
  • dependabot/go_modules/github.com/valyala/fasthttp-1.51.0
  • dependabot/go_modules/golang.org/x/oauth2-0.15.0
  • dependabot/go_modules/github.com/lestrrat-go/jwx-1.2.27
  • dependabot/go_modules/golang.org/x/term-0.15.0
  • v0.10.1
  • v0.10.0
  • v0.9.2
  • v0.9.1
  • v0.9.0
  • v0.8.1
  • v0.8.0
  • v0.7.2
  • v0.7.1
  • v0.7.0
  • v0.6.1
  • v0.6.1-c
  • v0.6.1-b
  • v0.6.1-a
  • v0.6.0
  • v0.5.4
  • v0.5.3
  • v0.5.2
  • v0.5.1
  • v0.5.0
41 results

.goreleaser-release.yml

Blame
  • .goreleaser-release.yml 7.37 KiB
    project_name: mytoken-server
    before:
      hooks:
        - go mod tidy
    dist: results
    builds:
      - id: server
        main: ./cmd/mytoken-server
        binary: mytoken-server
        env:
          - CGO_ENABLED=0
        goos:
          - linux
        flags:
          - -trimpath
        mod_timestamp: '{{ .CommitTimestamp }}'
      - id: setup
        main: ./cmd/mytoken-server/mytoken-setup
        binary: mytoken-setup
        env:
          - CGO_ENABLED=0
        goos:
          - linux
        flags:
          - -trimpath
        mod_timestamp: '{{ .CommitTimestamp }}'
      - id: migratedb
        main: ./cmd/mytoken-server/mytoken-migratedb
        binary: mytoken-migratedb
        env:
          - CGO_ENABLED=0
        goos:
          - linux
        flags:
          - -trimpath
        mod_timestamp: '{{ .CommitTimestamp }}'
      - id: notifier-server
        main: ./cmd/mytoken-server/mytoken-notifier-server
        binary: mytoken-notifier-server
        env:
          - CGO_ENABLED=0
        goos:
          - linux
        flags:
          - -trimpath
        mod_timestamp: '{{ .CommitTimestamp }}'
    archives:
      - name_template: >-
          {{ .ProjectName }}_{{ .Version }}_
          {{ if eq .Os "darwin" }}macOS{{- else }}{{ .Os }}{{ end }}_
          {{- if eq .Arch "386" }}32-bit{{- else if eq .Arch "amd64" }}64-bit{{- else }}{{ .Arch }}{{ end }}
        format_overrides:
          - goos: windows
            format: zip
    nfpms:
      - id: server-pkg
        package_name: mytoken-server
        file_name_template: >-
          {{ .PackageName }}_{{ .Version }}_
          {{- if eq .Arch "386" }}i386{{- else }}{{ .Arch }}{{ end }}
        builds:
          - server
        homepage: https://mytoken-docs.data.kit.edu/server
        maintainer: Gabriel Zachmann <gabriel.zachmann@kit.edu>
        description: Mytoken is a central web service with the goal to easily obtain OpenID Connect access tokens across devices.
        license: MIT
        formats:
          - deb
          - rpm
        release: "1"