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

update version and changelog #178

Merged
merged 2 commits into from
Mar 6, 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
40 changes: 20 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#name: Release

# Controls when the action will run.
# Controls when the action will run.
#on:
# Triggers the workflow on push or pull request events but only for the main branch
#push:
Expand Down Expand Up @@ -34,7 +34,7 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- run: npm install

#- name: Current NPM Package Version
#- uses: justincy/[email protected]
# id: info
Expand All @@ -47,22 +47,7 @@ jobs:
- uses: lannonbr/vsce-action@master
with:
args: "package"

# Note: This works but you can't unpublish something so if the next thing fails, you're just stuck.
#- name: Publish to Open VSX Registry
# uses: HaaLeo/publish-vscode-extension@v1
# id: publishOpenVSX
# with:
# pat: ${{ secrets.OPEN_VSX_TOKEN }}

# Note: Probably should publish VS Marketplace first since, OpenVSX is proved working.
#- name: Publish to Visual Studio Marketplace
# uses: HaaLeo/publish-vscode-extension@v1
# with:
# pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
# registryUrl: https://marketplace.visualstudio.com
# extensionFile: ${{ steps.publishOpenVSX.outputs.vsixPath }}

- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -73,15 +58,30 @@ jobs:
release_name: ${{ steps.ver.outputs.packageVersion }} Release
draft: true
prerelease: true

- name: Upload Release Asset
id: upload-release-asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
#asset_path: ${{ steps.publishOpenVSX.outputs.vsixPath }} # Need to get this version number dynamically
asset_path: ./vscode-nushell-lang-${{ steps.ver.outputs.packageVersion }}.vsix # Need to get this version number dynamically
asset_name: vscode-nushell-lang-${{ steps.ver.outputs.packageVersion }}.vsix
asset_content_type: application/vsix

# Note: Probably should publish VS Marketplace first since, OpenVSX is proved working.
#- name: Publish to Visual Studio Marketplace
# uses: HaaLeo/publish-vscode-extension@v1
# with:
# pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
# registryUrl: https://marketplace.visualstudio.com
# extensionFile: ${{ steps.publishOpenVSX.outputs.vsixPath }}

# Note: This works but you can't unpublish something so if the next thing fails, you're just stuck.
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
id: publishOpenVSX
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,8 @@ All notable changes to the "vscode-nushell-lang" extension will be documented in
- Syntax highlight: add "export" to "module" (@glcraft) [#166](https://github.com/nushell/vscode-nushell-lang/pull/166)
- Improve type parsing in function def (@glcraft) [#167](https://github.com/nushell/vscode-nushell-lang/pull/167)
- Textmate improvements (@glcraft) [#168](https://github.com/nushell/vscode-nushell-lang/pull/168)
- Textmate: improvement on record entries and closure (@glcraft) [#169](https://github.com/nushell/vscode-nushell-lang/pull/169)
- Textmate: improvement on record entries and closure (@glcraft) [#169](https://github.com/nushell/vscode-nushell-lang/pull/169)
- 1.9.0
- Add spread to syntax highlighting [#174](https://github.com/nushell/vscode-nushell-lang/pull/174)
- fix markdown formatting for hover lsp [#175](https://github.com/nushell/vscode-nushell-lang/pull/175)
- update grammar for nushell 0.91.0 [#177](https://github.com/nushell/vscode-nushell-lang/pull/177)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "vscode-nushell-lang",
"description": "nushell language for vscode",
"author": "The Nushell Project Developers",
"version": "1.8.0",
"version": "1.9.0",
"preview": false,
"license": "MIT",
"publisher": "TheNuProjectContributors",
Expand Down
Loading