mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-25 08:30:29 +00:00
[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
|
||||
|
||||
- name: test
|
||||
image: golang:1.18-alpine
|
||||
image: golang:1.18.3-alpine
|
||||
volumes:
|
||||
- name: go-build-cache
|
||||
path: /root/.cache/go-build
|
||||
|
@ -45,7 +45,7 @@ steps:
|
|||
- pull_request
|
||||
|
||||
- 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:
|
||||
- name: go-build-cache
|
||||
path: /root/.cache/go-build
|
||||
|
@ -74,7 +74,7 @@ steps:
|
|||
- main
|
||||
|
||||
- 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:
|
||||
- name: go-build-cache
|
||||
path: /root/.cache/go-build
|
||||
|
@ -133,7 +133,7 @@ clone:
|
|||
|
||||
steps:
|
||||
- name: mirror
|
||||
image: superseriousbusiness/gotosocial-drone-build:0.0.4
|
||||
image: superseriousbusiness/gotosocial-drone-build:0.0.5
|
||||
environment:
|
||||
ORIGIN_REPO: https://github.com/superseriousbusiness/gotosocial
|
||||
TARGET_REPO: https://codeberg.org/superseriousbusiness/gotosocial
|
||||
|
@ -146,6 +146,6 @@ steps:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: adfcc11559717e4e371e714f3ac19ab528208f678961436f316f491bf82de8ad
|
||||
hmac: d696d93f3d1583b9815488fcd2ff1ade53a5d7512abac63f16bd8cd0079f03a5
|
||||
|
||||
...
|
||||
|
|
|
@ -142,17 +142,27 @@ docker_manifests:
|
|||
archives:
|
||||
# https://goreleaser.com/customization/archive/
|
||||
-
|
||||
id: binary-release
|
||||
files:
|
||||
# standard release files
|
||||
- LICENSE
|
||||
- README.md
|
||||
- CHANGELOG*
|
||||
# web assets
|
||||
# web stuff minus source
|
||||
- web/assets
|
||||
- web/template
|
||||
# example config files
|
||||
- example/config.yaml
|
||||
- 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:
|
||||
# https://goreleaser.com/customization/checksum/
|
||||
name_template: 'checksums.txt'
|
||||
|
@ -161,4 +171,4 @@ snapshot:
|
|||
name_template: "{{ incpatch .Version }}-SNAPSHOT"
|
||||
source:
|
||||
# https://goreleaser.com/customization/source/
|
||||
enabled: true
|
||||
enabled: false
|
||||
|
|
Loading…
Reference in a new issue