Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Commit

Permalink
Add go release configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ch3ck committed Dec 27, 2021
1 parent 4157f08 commit 948c955
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- make build
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

const (
VERSION = "v0.3.1" // current version
VERSION = "v0.3.2" // current version
URL = "https://www.youtube.com/watch?v=lWEbEtr_Vng" // default video url
PATH = "." // default download path
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/download/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "ydl"
description = "download youtube videos to path"
version = "0.3.1"
version = "0.3.2"
authors = ["Nyah Check <[email protected]>"]
license = "MIT"
homepage = "https://github.com/ch3ck"
Expand Down

0 comments on commit 948c955

Please sign in to comment.