Skip to content

Commit e439ede

Browse files
authored
Merge pull request #19 from braintrustdata/ark/misc-fixes-to-gh-release-action
fix github release action
2 parents 21a14ee + 22b082b commit e439ede

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,22 @@ jobs:
2424
- name: Checkout code
2525
uses: actions/checkout@v4
2626
with:
27+
ref: ${{ inputs.tag || github.ref }}
2728
fetch-depth: 0
2829

2930
- name: Set up Go
3031
uses: actions/setup-go@v5.5.0
3132
with:
3233
go-version: 1.23.0
3334

35+
- name: Install golangci-lint
36+
uses: golangci/golangci-lint-action@v8
37+
with:
38+
version: v2.1.6
39+
3440
- name: Install goreleaser
3541
run: |
42+
cd /tmp
3643
wget -q https://github.com/goreleaser/goreleaser/releases/download/v2.12.7/goreleaser_Linux_x86_64.tar.gz
3744
tar -xzf goreleaser_Linux_x86_64.tar.gz goreleaser
3845
sudo mv goreleaser /usr/local/bin/

scripts/publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ REPO_URL=$(git config --get remote.origin.url | sed 's/git@github.com:/https:\/\
3535
# Show completion information
3636
echo "RELEASE COMPLETE: $VERSION"
3737
echo ""
38-
echo "Note: Docs should be updated within the next hour. Request manually at the URL above"
38+
echo "Note: Docs should be updated within the next hour. Request manually at the URL below"
3939
echo "if they don't show up"
4040
echo "- Release: $REPO_URL/releases/tag/$VERSION"
41-
echo "- Docs: https://pkg.go.dev/github.com/braintrustdata/braintrust-sdk-go@$VERSION/braintrust"
41+
echo "- Docs: https://pkg.go.dev/github.com/braintrustdata/braintrust-sdk-go@$VERSION"
4242
echo "- Index: https://proxy.golang.org/github.com/braintrustdata/braintrust-sdk-go/@v/$VERSION.info"

0 commit comments

Comments
 (0)