Skip to content

Commit

Permalink
new release
Browse files Browse the repository at this point in the history
  • Loading branch information
tacheraSasi committed Dec 16, 2024
1 parent 6a5cb84 commit 576e526
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 7 deletions.
41 changes: 36 additions & 5 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,33 @@
version: 2

project_name: vint

before:
hooks:
- go mod tidy
- go generate ./...

builds:
- env:
- id: vint-build
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
- android
goarch:
- amd64
- 386
- arm64
- arm
ldflags:
- "-s -w"
ignore:
- goos: android
goarch: 386
binary: vint
main: ./main.go

archives:
- format: tar.gz
Expand All @@ -30,6 +41,11 @@ archives:
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
replacements:
darwin: macOS

changelog:
sort: asc
Expand All @@ -39,9 +55,24 @@ changelog:
- "^test:"

nfpms:
- maintainer: "ekilie"
homepage: "https://ekilie.com"
description: "vint is a programming language built from the ground up"
- maintainer: "Tachera Sasi"
homepage: "https://vintlang.ekilie.com"
description: "Vint is a programming language built from the ground up"
formats:
- deb
file_name_template: "{{ .ProjectName }}.{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
license: MIT

release:
github:
owner: ekilie
name: vint
draft: false
prerelease: false
tag_name: "{{ .Version }}"
name_template: "{{ .ProjectName }} {{ .Version }}"
changelog:
use: true

env:
- GITHUB_TOKEN
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=0.1.2
VERSION=0.1.3

build:
make build_android
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/ekilie/vint-lang/styles"
"github.com/ekilie/vint-lang/toolkit"
)
const VINT_VERSION = "0.1.2"
const VINT_VERSION = "0.1.3"
// Constants for styled output
var (
// Title banner for the CLI
Expand Down

0 comments on commit 576e526

Please sign in to comment.