Skip to content

Commit

Permalink
Merge pull request #3182 from lubronzhan/fix-3181
Browse files Browse the repository at this point in the history
build: Update some goreleaser deprecated fields
  • Loading branch information
lubronzhan authored Jul 21, 2023
2 parents c7353db + 65814f0 commit 7254d72
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/govmomi-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
with:
version: latest
# snapshot will disable push/release
args: release --rm-dist --snapshot --release-notes RELEASE_CHANGELOG.md
args: release --clean --snapshot --release-notes RELEASE_CHANGELOG.md

- name: Verify git clean
shell: bash
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/govmomi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ jobs:
# check whether the new tag is also the latest
if [[ $LATEST == $TAG ]]; then
echo "::set-output name=islatest::true"
echo "islatest::true >> $GITHUB_OUTPUT"
else
echo "::set-output name=islatest::false"
echo "islatest::false >> $GITHUB_OUTPUT"
fi
- name: Push changes and tag to release branch
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version: latest
args: release --snapshot --rm-dist --release-notes RELEASE_CHANGELOG.md
args: release --snapshot --clean --release-notes RELEASE_CHANGELOG.md


- name: Create Release and build/push Artifacts
Expand All @@ -147,7 +147,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version: latest
args: release --rm-dist --release-notes RELEASE_CHANGELOG.md # will push artefacts and container images
args: release --clean --release-notes RELEASE_CHANGELOG.md # will push artefacts and container images

pull-request:
needs: release
Expand Down
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ brews:
- name: govc
ids:
- govcbuild
tap:
repository:
owner: govmomi
name: homebrew-tap
# TODO: create token in specified tap repo, add as secret to govmomi repo and reference in release workflow
Expand All @@ -100,7 +100,7 @@ brews:
- name: vcsim
ids:
- vcsimbuild
tap:
repository:
owner: govmomi
name: homebrew-tap
# TODO: create token in specified tap repo, add as secret to govmomi repo and reference in release workflow
Expand Down
2 changes: 1 addition & 1 deletion govc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ git checkout ${RELEASE}

# build for the host OS/ARCH, otherwise omit --single-target
# binaries are placed in respective subdirectories in ./dist/
goreleaser build --rm-dist --single-target
goreleaser build --clean --single-target
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions vcsim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ git checkout ${RELEASE}

# build for the host OS/ARCH, otherwise omit --single-target
# binaries are placed in respective subdirectories in ./dist/
goreleaser build --rm-dist --single-target
goreleaser build --clean --single-target
```

## Usage
Expand Down Expand Up @@ -148,7 +148,7 @@ Usage of vcsim:

### Version Information

To print detailed (build) information for vcsim run: `vcsim version`.
To print detailed (build) information for vcsim run: `vcsim version`.

## Examples

Expand Down

0 comments on commit 7254d72

Please sign in to comment.