Skip to content

Commit

Permalink
ci: 在极狐发布版本
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Oct 16, 2023
1 parent e10e0d4 commit 032133b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,17 @@ build:
paths:
- $OUTPUT_NAME
expire_in: 3 days

release:
stage: release
image:
name: goreleaser/goreleaser
entrypoint: ['']
only:
- tags
variables:
# Disable shallow cloning so that goreleaser can diff between tags to
# generate a changelog.
GIT_DEPTH: 0
script:
- goreleaser release --clean
18 changes: 18 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,21 @@ archives:
- scripts/*
- resources/*
- panel-example.conf

gitlab_urls:
api: https://jihulab.com/api/v4/
download: https://jihulab.com

# set to true if you use a self-signed certificate
skip_tls_verify: false

# set to true if you want to upload to the Package Registry rather than attachments
# Only works with GitLab 13.5+
#
# Since: v1.3
use_package_registry: true

# Set this if you set GITLAB_TOKEN to the value of CI_JOB_TOKEN.
#
# Since: v1.11
use_job_token: true

0 comments on commit 032133b

Please sign in to comment.