forked from mirrors/gotosocial
[packaging] Packaging updates (#655)
* update versions * disable source tar bundling * add tar for just compiled web assets
This commit is contained in:
parent
c48266c459
commit
f42d5d807c
2 changed files with 17 additions and 7 deletions
10
.drone.yml
10
.drone.yml
|
@ -28,7 +28,7 @@ steps:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: golang:1.18-alpine
|
image: golang:1.18.3-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- name: go-build-cache
|
- name: go-build-cache
|
||||||
path: /root/.cache/go-build
|
path: /root/.cache/go-build
|
||||||
|
@ -45,7 +45,7 @@ steps:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
- name: snapshot
|
- name: snapshot
|
||||||
image: superseriousbusiness/gotosocial-drone-build:0.0.4 # https://github.com/superseriousbusiness/gotosocial-drone-build
|
image: superseriousbusiness/gotosocial-drone-build:0.0.5 # https://github.com/superseriousbusiness/gotosocial-drone-build
|
||||||
volumes:
|
volumes:
|
||||||
- name: go-build-cache
|
- name: go-build-cache
|
||||||
path: /root/.cache/go-build
|
path: /root/.cache/go-build
|
||||||
|
@ -74,7 +74,7 @@ steps:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: superseriousbusiness/gotosocial-drone-build:0.0.4 # https://github.com/superseriousbusiness/gotosocial-drone-build
|
image: superseriousbusiness/gotosocial-drone-build:0.0.5 # https://github.com/superseriousbusiness/gotosocial-drone-build
|
||||||
volumes:
|
volumes:
|
||||||
- name: go-build-cache
|
- name: go-build-cache
|
||||||
path: /root/.cache/go-build
|
path: /root/.cache/go-build
|
||||||
|
@ -133,7 +133,7 @@ clone:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: mirror
|
- name: mirror
|
||||||
image: superseriousbusiness/gotosocial-drone-build:0.0.4
|
image: superseriousbusiness/gotosocial-drone-build:0.0.5
|
||||||
environment:
|
environment:
|
||||||
ORIGIN_REPO: https://github.com/superseriousbusiness/gotosocial
|
ORIGIN_REPO: https://github.com/superseriousbusiness/gotosocial
|
||||||
TARGET_REPO: https://codeberg.org/superseriousbusiness/gotosocial
|
TARGET_REPO: https://codeberg.org/superseriousbusiness/gotosocial
|
||||||
|
@ -146,6 +146,6 @@ steps:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: adfcc11559717e4e371e714f3ac19ab528208f678961436f316f491bf82de8ad
|
hmac: d696d93f3d1583b9815488fcd2ff1ade53a5d7512abac63f16bd8cd0079f03a5
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
|
@ -142,17 +142,27 @@ docker_manifests:
|
||||||
archives:
|
archives:
|
||||||
# https://goreleaser.com/customization/archive/
|
# https://goreleaser.com/customization/archive/
|
||||||
-
|
-
|
||||||
|
id: binary-release
|
||||||
files:
|
files:
|
||||||
# standard release files
|
# standard release files
|
||||||
- LICENSE
|
- LICENSE
|
||||||
- README.md
|
- README.md
|
||||||
- CHANGELOG*
|
- CHANGELOG*
|
||||||
# web assets
|
# web stuff minus source
|
||||||
- web/assets
|
- web/assets
|
||||||
- web/template
|
- web/template
|
||||||
# example config files
|
# example config files
|
||||||
- example/config.yaml
|
- example/config.yaml
|
||||||
- example/gotosocial.service
|
- example/gotosocial.service
|
||||||
|
-
|
||||||
|
id: web-assets
|
||||||
|
files:
|
||||||
|
- LICENSE
|
||||||
|
# just the web stuff minus source
|
||||||
|
- web/assets
|
||||||
|
- web/template
|
||||||
|
meta: true
|
||||||
|
name_template: "{{ .ProjectName }}_{{ .Version }}_web-assets"
|
||||||
checksum:
|
checksum:
|
||||||
# https://goreleaser.com/customization/checksum/
|
# https://goreleaser.com/customization/checksum/
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
|
@ -161,4 +171,4 @@ snapshot:
|
||||||
name_template: "{{ incpatch .Version }}-SNAPSHOT"
|
name_template: "{{ incpatch .Version }}-SNAPSHOT"
|
||||||
source:
|
source:
|
||||||
# https://goreleaser.com/customization/source/
|
# https://goreleaser.com/customization/source/
|
||||||
enabled: true
|
enabled: false
|
||||||
|
|
Loading…
Reference in a new issue