Skip to content

Commit 2c6a374

Browse files
Remove legacy release artifacts from GitHub releases (#911)
1 parent c0db21d commit 2c6a374

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@ jobs:
2929
include:
3030
- os: windows-latest
3131
artifact-name: stylua-windows-x86_64
32-
artifact-alias: stylua-win64
3332
cargo-target: x86_64-pc-windows-msvc
3433
- os: ubuntu-20.04
3534
artifact-name: stylua-linux-x86_64
36-
artifact-alias: stylua-linux
3735
cargo-target: x86_64-unknown-linux-gnu
3836
- os: ubuntu-20.04
3937
artifact-name: stylua-linux-x86_64-musl
@@ -44,7 +42,6 @@ jobs:
4442
linker: gcc-aarch64-linux-gnu
4543
- os: macos-latest
4644
artifact-name: stylua-macos-x86_64
47-
artifact-alias: stylua-macos
4845
cargo-target: x86_64-apple-darwin
4946
- os: macos-latest
5047
artifact-name: stylua-macos-aarch64
@@ -102,18 +99,6 @@ jobs:
10299
asset_name: ${{ matrix.artifact-name }}.zip
103100
asset_content_type: application/zip
104101

105-
# TODO: Remove this after deprecation notice
106-
- name: Upload Binary to Release aliases
107-
if: ${{ matrix.artifact-alias != '' }}
108-
uses: actions/upload-release-asset@v1
109-
env:
110-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
111-
with:
112-
upload_url: ${{ needs.create-release.outputs.upload_url }}
113-
asset_path: release.zip
114-
asset_name: ${{ matrix.artifact-alias }}.zip
115-
asset_content_type: application/zip
116-
117102
release_cargo:
118103
name: Publish to cargo
119104
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Breaking Changes
11+
12+
- For automated downloaders: the legacy release artifacts `stylua-win64.zip`, `stylua-linux.zip` and `stylua-macos.zip` are no longer produced in GitHub releases, in favour of more specific names (e.g., `stylua-windows-x86_64`, `stylua-linux-x86_64` and `stylua-macos-x86_64`).
13+
1014
### Added
1115

1216
- Added runtime syntax configuration option `syntax` to help handle ambiguous syntax. By default, StyLua builds and runs with a parser to handle all Lua versions. However, the syntax of some Lua versions conflict with eachother: most notably, Lua 5.2+ goto label syntax `::label::` and Luau type assertion operator `::`. This option allows choosing what syntax to parse, to handle these conflicts. ([#407](https://github.com/JohnnyMorganz/StyLua/issues/407))

0 commit comments

Comments
 (0)