Skip to content

Commit

Permalink
build: attach Eclipse plugin to GitHub Releases
Browse files Browse the repository at this point in the history
Eclipse plugin file is located not in spotbugs/build/distributions,
but in eclipsePlugin/build/distributions.
Just like TravisCI build script, we need to add a zip file to target to upload.
https://github.com/spotbugs/spotbugs/blob/4.0.3/.travis.yml#L108

refs #1636
  • Loading branch information
KengoTODA committed Aug 4, 2021
1 parent 9868ac4 commit 542545b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
run: |
set -x
curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1
assets=()
assets=("-a" "./eclipsePlugin/build/distributions/eclipsePlugin.zip")
for asset in ./spotbugs/build/distributions/*; do
assets+=("-a" "$asset")
done
Expand Down

0 comments on commit 542545b

Please sign in to comment.