Skip to content

Commit cd2a4b3

Browse files
committed
releaser must be in its own directory as a private module
1 parent 7d68ba1 commit cd2a4b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/new-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
inputs:
66
are-you-sure:
7-
description: 'Are you sure you want to cut a release? Only "YES!!!" will be accepted'
7+
description: 'Are you sure you want to cut a release? Only "YES!!!" will be accepted'
88
required: true
99
version:
1010
description: 'Version number (leave empty to auto-increment)'
@@ -16,7 +16,6 @@ jobs:
1616
runs-on: ubuntu-latest
1717
permissions:
1818
contents: write # Required for creating tags and branches
19-
2019
steps:
2120
- name: Checkout code
2221
uses: actions/checkout@v5
@@ -30,6 +29,7 @@ jobs:
3029
go-version: '1.22'
3130

3231
- name: Create release
32+
working-directory: releaser
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535
run: |
@@ -45,4 +45,4 @@ jobs:
4545
FLAGS="$FLAGS -version=${{ inputs.version }}"
4646
fi
4747
48-
go run make_release.go -repo=. $FLAGS
48+
go run make_release.go -repo=../ $FLAGS
File renamed without changes.

0 commit comments

Comments
 (0)