-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35c0bd4
commit 4f5e128
Showing
1 changed file
with
3 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,6 @@ jobs: | |
|
||
- uses: actions/checkout@v4 | ||
|
||
|
||
|
||
- name: Get Next version | ||
id: get-version | ||
uses: ietf-tools/[email protected] | ||
|
@@ -25,11 +23,6 @@ jobs: | |
branch: ${{ github.ref }} | ||
noVersionBumpBehavior: 'current' | ||
|
||
- name: debug | ||
run: | | ||
echo ${{ steps.get-version.outputs.next }} | ||
echo ${{ steps.get-version.outputs.bump }} | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
|
@@ -38,15 +31,15 @@ jobs: | |
- name: Make build folder | ||
run: mkdir build | ||
|
||
- name: ls debug | ||
run: ls -a && pwd | ||
|
||
- name: Update version in main.go | ||
shell: bash | ||
run: | | ||
new_version=${{ steps.get-version.outputs.nextStrict }} | ||
sed -i "s/const version = \"[0-9]*\.[0-9]*\.[0-9]*\"/const version = \"$new_version\"/g" ${{ github.workspace }}/main.go | ||
- name: Debug | ||
run: cat ${{ github.workspace}}/main.go | ||
|
||
- name: Build for Windows (amd64) | ||
run: | | ||
env GOOS=windows GOARCH=amd64 go build -o /home/runner/work/wowtools/wowtools/build/wowtools.exe | ||
|