Skip to content

Commit

Permalink
[packaging] Packaging updates (#655)
Browse files Browse the repository at this point in the history
* update versions

* disable source tar bundling

* add tar for just compiled web assets
  • Loading branch information
tsmethurst committed Jun 19, 2022
1 parent c48266c commit f42d5d8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -146,6 +146,6 @@ steps:

---
kind: signature
hmac: adfcc11559717e4e371e714f3ac19ab528208f678961436f316f491bf82de8ad
hmac: d696d93f3d1583b9815488fcd2ff1ade53a5d7512abac63f16bd8cd0079f03a5

...
14 changes: 12 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -161,4 +171,4 @@ snapshot:
name_template: "{{ incpatch .Version }}-SNAPSHOT"
source:
# https://goreleaser.com/customization/source/
enabled: true
enabled: false

0 comments on commit f42d5d8

Please sign in to comment.