Skip to content

Commit

Permalink
Bump version v10.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
erebe committed Feb 5, 2025
1 parent ddac606 commit d28409f
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ jobs:
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
version: '~> v1'
args: release --clean --skip=validate
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
90 changes: 43 additions & 47 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,56 +1,52 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com

# The lines below are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/need to use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

version: 2

before:
hooks:
# if you don't do these things before calling goreleaser, it might be a
# good idea to do them here:
- rustup default stable
- cargo install --locked cargo-zigbuild
- cargo fetch --locked

builds:
- builder: rust
flags:
- --release
targets:
- x86_64-unknown-linux-gnu
- x86_64-apple-darwin
- x86_64-pc-windows-gnu
- aarch64-unknown-linux-gnu
- aarch64-apple-darwin

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
format_overrides:
- goos:
- linux
- darwin
- windows
- freebsd
- android
goarch:
- "386"
- amd64
- arm64
- arm
goarm:
- "7"
binary: wstunnel
ignore:
- goos: windows
format: zip

goarch: arm64
- goos: windows
goarch: arm
- goos: darwin
goarch: arm
- goos: android
goarch: "386"
- goos: android
goarch: amd64
- goos: android
goarch: arm
- goos: darwin
goarch: "386"
- goos: freebsd
goarch: "arm"
- goos: freebsd
goarch: "arm64"
main: goreleaser.go
hooks:
#pre:
# - /bin/sh -c "if [ ! -e ./goreleaser.go ]; then echo -e 'package main\\\nfunc main() { }' > ./goreleaser.go ; fi"
post:
- ./.goreleaser_hook.sh "{{ .Arch }}" "{{ .Os }}" "{{ .Arm }}" "{{ .ProjectName }}"
checksum:
name_template: "checksums.txt"
changelog:
use: github
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"

release:
footer: >-
---
Released by [GoReleaser](https://github.com/goreleaser/goreleaser).
replace_existing_artifacts: true
prerelease: auto
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["wstunnel-cli"]

[package]
name = "wstunnel"
version = "10.1.8"
version = "10.1.9"
edition = "2021"
repository = "https://github.com/erebe/wstunnel.git"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit d28409f

Please sign in to comment.