Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jan 12, 2025
1 parent a971f23 commit c6e4335
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 60 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/nightly-new.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: nightly-oss
name: snapshot-oss

# TODO: make it auto-snapshot/nightly/release (?)

on:
workflow_dispatch:
pull_request:
schedule:
- cron: 0 0 * * *

Expand Down Expand Up @@ -35,8 +38,8 @@ jobs:
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser-pro
version: "nightly"
args: release --clean --nightly --split
version: "snapshot"
args: release --clean --snapshot --split
env:
TARGET: ${{ env.TARGET }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
Expand Down Expand Up @@ -65,8 +68,8 @@ jobs:
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser-pro
version: "nightly"
args: release --clean --nightly --split
version: "snapshot"
args: release --clean --snapshot --split
env:
TARGET: ${{ env.TARGET }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
Expand Down Expand Up @@ -94,8 +97,8 @@ jobs:
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser-pro
version: "nightly"
args: release --clean --nightly --split
version: "snapshot"
args: release --clean --snapshot --split
env:
TARGET: ${{ env.TARGET }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
Expand Down Expand Up @@ -142,7 +145,7 @@ jobs:
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser-pro
version: "nightly"
version: "snapshot"
args: continue --merge
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
Expand Down
42 changes: 0 additions & 42 deletions .github/workflows/release-new.yml

This file was deleted.

11 changes: 1 addition & 10 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ builds:
- id: wayland
builder: rust
command: build
# dir: ./frontends/rioterm/
flags:
- -p=rioterm
- --release
Expand All @@ -49,7 +48,6 @@ builds:
- id: x11
builder: rust
command: build
# dir: ./frontends/rioterm/
flags:
- -p=rioterm
- --release
Expand Down Expand Up @@ -77,14 +75,7 @@ nfpms:

archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
# use zip for windows archives
name_template: "{{ .ProjectName }}_{{ .Target }}"
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit c6e4335

Please sign in to comment.