代码拉取完成,页面将自动刷新
同步操作将从 巴拉迪维/ohUrlShortener 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
project_name: ohUrlShortener
dist: build/
before:
hooks:
- go mod tidy
- go mod download
builds:
- env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
dockers:
- use: buildx
goos: linux
goarch: amd64
dockerfile: "docker/goreleaser-admin.Dockerfile"
image_templates:
- "baratsemet/ohurlshortener-admin:{{ .Version }}"
- "baratsemet/ohurlshortener-admin:latest"
build_flag_templates:
- "--platform=linux/amd64"
- "--label=cn.ohurls.image.created={{.Date}}"
- "--label=cn.ohurls.image.title={{.ProjectName}}"
- "--label=cn.ohurls.image.revision={{.FullCommit}}"
- "--label=cn.ohurls.image.version={{.Version}}"
skip_push: "true"
extra_files:
- docker/docker_config.ini
- use: buildx
goos: linux
goarch: amd64
dockerfile: "docker/goreleaser-portal.Dockerfile"
image_templates:
- "baratsemet/ohurlshortener-portal:{{ .Version }}"
- "baratsemet/ohurlshortener-portal:latest"
build_flag_templates:
- "--platform=linux/amd64"
- "--label=cn.ohurls.image.created={{.Date}}"
- "--label=cn.ohurls.image.title={{.ProjectName}}"
- "--label=cn.ohurls.image.revision={{.FullCommit}}"
- "--label=cn.ohurls.image.version={{.Version}}"
skip_push: "true"
extra_files:
- docker/docker_config.ini
archives:
- replacements:
darwin: macOS
linux: Linux
windows: Windows
amd64: x86_64
files:
- README.md
- LICENSE
- structure.sql
- config.ini
- CLA.md
- API.md
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Version }}"
nfpms:
- file_name_template: "{{.ProjectName}}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
vendor: 巴拉迪维
homepage: https://www.ohurls.cn
description: ohUrlShortener 适合中小型社区网站使用的企业级短链接服务系统,支持短链接生产、查询及302转向,并自带点击量统计、独立IP数统计、访问日志查询
license: MulanPSL-2.0
formats:
- deb
- rpm
replacements:
linux: Linux
amd64: x86_64
signs:
- artifacts: checksum
signature: "${artifact}_sig"
cmd: gpg
output: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。