Fix `make release`

`make package` has a dependency on `make clean` so this was removing
the bazel release artifacts.
This commit is contained in:
JP Simard 2022-12-09 14:42:20 -05:00
parent 40fb3796cb
commit 53ee4a955d
No known key found for this signature in database
GPG Key ID: 184C3F2916202C58
1 changed files with 1 additions and 2 deletions

View File

@ -166,9 +166,8 @@ endif
$(eval NEW_VERSION := $(shell echo $(NEW_VERSION_AND_NAME) | sed 's/:.*//' ))
@sed -i '' 's/## Main/## $(NEW_VERSION_AND_NAME)/g' CHANGELOG.md
@sed 's/__VERSION__/$(NEW_VERSION)/g' tools/Version.swift.template > Source/SwiftLintFramework/Models/Version.swift
make clean
make bazel_release
make package
make bazel_release
make portable_zip
make spm_artifactbundle_macos
./tools/update-artifact-bundle.sh "$(NEW_VERSION)"