Skip to content

Commit dcdc163

Browse files
committed
fix: update set up tasks
1 parent 9d7cc13 commit dcdc163

4 files changed

Lines changed: 18 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
- name: Set SemVer Version
3636
uses: gittools/actions/gitversion/execute@v4.1.0
3737
id: gitversion
38+
with:
39+
overrideConfig: |
40+
next-version=3.0.0
3841
3942
- name: echo VERSIONS
4043
run: |

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
- name: Set SemVer Version
4040
uses: gittools/actions/gitversion/execute@v4.1.0
4141
id: gitversion
42+
with:
43+
overrideConfig: |
44+
next-version=3.0.0
4245
4346
release:
4447
name: Release

.github/workflows/release_container.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: Publish Container
22

33
on:
44
workflow_run:
5-
workflows: ['CI']
5+
workflows: ["CI"]
66
types:
77
- completed
8-
branches:
8+
branches:
99
- main
1010

1111
permissions:
1212
contents: write
13-
packages: write
13+
packages: write
1414

1515
jobs:
1616
set-version-tag:
@@ -25,12 +25,15 @@ jobs:
2525
with:
2626
fetch-depth: 0
2727
- name: Install GitVersion
28-
uses: gittools/actions/gitversion/setup@v3.0
28+
uses: gittools/actions/gitversion/setup@v4.1.0
2929
with:
30-
versionSpec: '5.x'
30+
versionSpec: "6.x"
3131
- name: Set SemVer Version
32-
uses: gittools/actions/gitversion/execute@v3.0
32+
uses: gittools/actions/gitversion/execute@v4.1.0
3333
id: gitversion
34+
with:
35+
overrideConfig: |
36+
next-version=3.0.0
3437
3538
build-and-push:
3639
runs-on: ubuntu-latest
@@ -63,4 +66,4 @@ jobs:
6366
build-args: Version=${{ needs.set-version-tag.outputs.semVer }},Revision=${{ github.sha }}
6467
tags: |
6568
ghcr.io/ensono/eirctl:${{ needs.set-version-tag.outputs.semVer }}
66-
platforms: linux/amd64,linux/arm64 # adjust as needed
69+
platforms: linux/amd64,linux/arm64 # adjust as needed

sonar-project.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ sonar.test.inclusions=**/*_test.go
1212
sonar.test.exclusions=**/*_generated*.go,**/*_generated/**,**/vendor/**
1313

1414
sonar.sourceEncoding=UTF-8
15-
sonar.qualitygate.wait=true
15+
# until we start PR'ing into main - this needs to stay as false
16+
sonar.qualitygate.wait=false
1617

1718
# go
1819
sonar.go.coverage.reportPaths=.coverage/out

0 commit comments

Comments
 (0)