Skip to content

Commit b4b898d

Browse files
committed
fix: remove task calls
1 parent 0255c72 commit b4b898d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Read and validate VERSION
3434
id: version
3535
run: |
36-
VERSION=$(task version)
36+
VERSION=$(cat ./VERSION)
3737
if [[ ! "$VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-dev(-[0-9a-f]*)?)?$ ]]; then
3838
echo "Invalid version format: $VERSION"
3939
exit 1

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Read and validate VERSION
3434
id: version
3535
run: |
36-
VERSION=$(task version)
36+
VERSION=$(cat ./VERSION)
3737
if [[ ! "$VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-dev(-[0-9a-f]*)?)?$ ]]; then
3838
echo "Invalid version format: $VERSION"
3939
exit 1
@@ -74,7 +74,7 @@ jobs:
7474
git tag -a "${{ env.version }}" -m "Release ${{ env.version }}"
7575
git push origin "${{ env.version }}"
7676
77-
NESTED_GO_MODULES="$(task release:list-nested-modules)"
77+
NESTED_GO_MODULES="apis controller-utils"
7878
7979
for MODULE in $NESTED_GO_MODULES; do
8080
git tag -a "${MODULE}/${{ env.version }}" -m "Release ${{ env.version }}"

0 commit comments

Comments
 (0)