Skip to content

Commit f313744

Browse files
committed
fix: update GoReleaser and release workflow configuration
- Fix build path to use ./cmd/codebase-interface - Correct repository name from codebase-interface to cli - Enable release workflow on version tags - Use standard GITHUB_TOKEN instead of custom TAP_GITHUB_TOKEN - Remove incorrect directory reference in GoReleaser config
1 parent 725174c commit f313744

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: release
22
on:
33
push:
4-
# tags:
5-
# - "v*.*.*"
4+
tags:
5+
- "v*.*.*"
66

77
jobs:
88
goreleaser:

.goreleaser.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ project_name: codebase-interface
44

55
before:
66
hooks:
7-
- sh -c "cd cli && go mod tidy"
7+
- go mod tidy
88

99
builds:
1010
- id: codebase-interface
11-
main: .
11+
main: ./cmd/codebase-interface
1212
binary: codebase-interface
13-
dir: cli
1413
env:
1514
- CGO_ENABLED=0
1615
flags: [ -trimpath ]
@@ -52,7 +51,7 @@ release:
5251
draft: false
5352
github:
5453
owner: codebase-interface
55-
name: codebase-interface
54+
name: cli
5655

5756
changelog:
5857
sort: asc

0 commit comments

Comments
 (0)