commit f42d5d807cf4d6a8d563725d90ea68da32ddd706
parent c48266c4595a7f53f0a71437ea15928612d8b710
Author: tobi <31960611+tsmethurst@users.noreply.github.com>
Date: Sun, 19 Jun 2022 16:44:38 +0200
[packaging] Packaging updates (#655)
* update versions
* disable source tar bundling
* add tar for just compiled web assets
Diffstat:
2 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/.drone.yml b/.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
...
diff --git a/.goreleaser.yml b/.goreleaser.yml
@@ -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