From dcf37e083a6caae14e57cbfc2f329615308756e3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Oct 2022 22:22:10 -0400 Subject: [PATCH] feat(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1 (#1) Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.6.0 to 1.6.1. - [Release notes](https://github.com/spf13/cobra/releases) - [Commits](https://github.com/spf13/cobra/compare/v1.6.0...v1.6.1) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/release.yaml | 1 + .goreleaser.yaml | 30 +++++++++++++++--------------- go.mod | 2 +- go.sum | 4 ++-- 4 files changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f280f17..d4897b8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,6 +7,7 @@ on: permissions: contents: write + packages: write jobs: goreleaser: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 23dc776..05c43e1 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,8 +1,8 @@ project_name: gh-app-access-token env: - - DOCKER_REGISTRY=ghcr.io/sunggun-yu - - DESCRIPTION=Semantic Version Utility - - HOME_PAGE=https://github.com/sunggun-yu/{{ .ProjectName }} + - REGISTRY=ghcr.io/sunggun-yu + - DESCRIPTION=Simple Cli tool for operating Github App Installation access token + - HOMEPAGE=https://github.com/sunggun-yu/{{ .ProjectName }} before: hooks: - go mod tidy @@ -73,12 +73,12 @@ brews: owner: sunggun-yu name: homebrew-tap folder: Formula - homepage: '{{ .Env.HOME_PAGE }}' + homepage: '{{ .Env.HOMEPAGE }}' description: '{{ .Env.DESCRIPTION }}' nfpms: # https://goreleaser.com/customization/nfpm/ - - homepage: '{{ .Env.HOME_PAGE }}' + - homepage: '{{ .Env.HOMEPAGE }}' description: '{{ .Env.DESCRIPTION }}' maintainer: Sunggun Yu license: MIT @@ -95,8 +95,8 @@ dockers: goarch: amd64 dockerfile: Dockerfile image_templates: - - "{{ .Env.DOCKER_REGISTRY }}/{{ .ProjectName }}:{{ .Version }}-amd64" - - "{{ .Env.DOCKER_REGISTRY }}/{{ .ProjectName }}:latest-amd64" + - "{{ .Env.REGISTRY }}/{{ .ProjectName }}:{{ .Version }}-amd64" + - "{{ .Env.REGISTRY }}/{{ .ProjectName }}:latest-amd64" build_flag_templates: - "--platform=linux/amd64" - "--label=org.opencontainers.image.created={{.Date}}" @@ -107,8 +107,8 @@ dockers: goos: linux goarch: arm64 image_templates: - - "{{ .Env.DOCKER_REGISTRY }}/{{ .ProjectName }}:{{ .Version }}-arm64v8" - - "{{ .Env.DOCKER_REGISTRY }}/{{ .ProjectName }}:latest-arm64v8" + - "{{ .Env.REGISTRY }}/{{ .ProjectName }}:{{ .Version }}-arm64v8" + - "{{ .Env.REGISTRY }}/{{ .ProjectName }}:latest-arm64v8" build_flag_templates: - "--platform=linux/arm64/v8" - "--label=org.opencontainers.image.created={{.Date}}" @@ -117,11 +117,11 @@ dockers: - "--label=org.opencontainers.image.version={{.Version}}" docker_manifests: # https://goreleaser.com/customization/docker_manifest/ - - name_template: "{{ .Env.DOCKER_REGISTRY }}/{{ .ProjectName }}:{{ .Version }}" + - name_template: "{{ .Env.REGISTRY }}/{{ .ProjectName }}:{{ .Version }}" image_templates: - - "{{ .Env.DOCKER_REGISTRY }}/{{ .ProjectName }}:{{ .Version }}-amd64" - - "{{ .Env.DOCKER_REGISTRY }}/{{ .ProjectName }}:{{ .Version }}-arm64v8" - - name_template: "{{ .Env.DOCKER_REGISTRY }}/{{ .ProjectName }}:latest" + - "{{ .Env.REGISTRY }}/{{ .ProjectName }}:{{ .Version }}-amd64" + - "{{ .Env.REGISTRY }}/{{ .ProjectName }}:{{ .Version }}-arm64v8" + - name_template: "{{ .Env.REGISTRY }}/{{ .ProjectName }}:latest" image_templates: - - "{{ .Env.DOCKER_REGISTRY }}/{{ .ProjectName }}:latest-amd64" - - "{{ .Env.DOCKER_REGISTRY }}/{{ .ProjectName }}:latest-arm64v8" + - "{{ .Env.REGISTRY }}/{{ .ProjectName }}:latest-amd64" + - "{{ .Env.REGISTRY }}/{{ .ProjectName }}:latest-arm64v8" diff --git a/go.mod b/go.mod index a14c589..5674249 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/bradleyfalzon/ghinstallation/v2 v2.1.0 github.com/google/go-github/v48 v48.0.0 - github.com/spf13/cobra v1.6.0 + github.com/spf13/cobra v1.6.1 golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be ) diff --git a/go.sum b/go.sum index 68336f7..9454d2b 100644 --- a/go.sum +++ b/go.sum @@ -18,8 +18,8 @@ github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17 github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/spf13/cobra v1.6.0 h1:42a0n6jwCot1pUmomAp4T7DeMD+20LFv4Q54pxLf2LI= -github.com/spf13/cobra v1.6.0/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= +github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= +github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=