Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove legacy release artifacts from GitHub releases #911

Merged
merged 1 commit into from
Nov 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@ jobs:
include:
- os: windows-latest
artifact-name: stylua-windows-x86_64
artifact-alias: stylua-win64
cargo-target: x86_64-pc-windows-msvc
- os: ubuntu-20.04
artifact-name: stylua-linux-x86_64
artifact-alias: stylua-linux
cargo-target: x86_64-unknown-linux-gnu
- os: ubuntu-20.04
artifact-name: stylua-linux-x86_64-musl
Expand All @@ -44,7 +42,6 @@ jobs:
linker: gcc-aarch64-linux-gnu
- os: macos-latest
artifact-name: stylua-macos-x86_64
artifact-alias: stylua-macos
cargo-target: x86_64-apple-darwin
- os: macos-latest
artifact-name: stylua-macos-aarch64
Expand Down Expand Up @@ -102,18 +99,6 @@ jobs:
asset_name: ${{ matrix.artifact-name }}.zip
asset_content_type: application/zip

# TODO: Remove this after deprecation notice
- name: Upload Binary to Release aliases
if: ${{ matrix.artifact-alias != '' }}
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create-release.outputs.upload_url }}
asset_path: release.zip
asset_name: ${{ matrix.artifact-alias }}.zip
asset_content_type: application/zip

release_cargo:
name: Publish to cargo
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Breaking Changes

- 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`).

### Added

- 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))
Expand Down
Loading