Skip to content
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
2 changes: 1 addition & 1 deletion .github/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.1"
".": "0.1.2"
}
4 changes: 4 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
handleGHRelease: true
manifest: true
manifestConfig: .github/release-please-config.json
manifestFile: .github/release-please-manifest.json
45 changes: 29 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
name: release

on:
push:
branches: [main]
workflow_dispatch:
inputs:
release_name:
required: true
type: string
default: "wit-idl: v0.0.1"
tag_name:
required: true
type: string
default: "wit-idl-v0.0.1"
release:
types:
- released

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -13,24 +24,28 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
release_name: ${{ steps.event_details.outputs.release_name }}
tag_name: ${{ steps.event_details.outputs.tag_name }}
version: ${{ steps.event_details.outputs.version }}
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
token: ${{ secrets.PAT_GITHUB }}
command: manifest
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json
- name: Check event details
id: event_details
env:
RELEASE_NAME: ${{ github.event.release.name || inputs.release_name }}
TAG_NAME: ${{ github.event.release.tag_name || inputs.tag_name }}
run: |
echo "release_name=${RELEASE_NAME}" >> $GITHUB_OUTPUT
echo "tag_name=${TAG_NAME}" >> $GITHUB_OUTPUT
echo "version=${TAG_NAME##*-v}" >> $GITHUB_OUTPUT
echo "package_name=${RELEASE_NAME%:*}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
with:
ref: ${{ steps.event_details.outputs.tag_name }}
- name: Add files and publish release
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ github.token }}
TAG_NAME: ${{ steps.release.outputs.tag_name }}
TAG_NAME: ${{ steps.event_details.outputs.tag_name }}
run: |
npm ci
npm run package
Expand All @@ -39,7 +54,6 @@ jobs:

label:
needs: [publish]
if: ${{ needs.publish.outputs.release_created }}
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -58,7 +72,6 @@ jobs:

comments:
needs: [publish]
if: ${{ needs.publish.outputs.release_created }}
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.1.2](https://github.com/bytecodealliance/vscode-wit/compare/wit-idl-v0.1.1...wit-idl-v0.1.2) (2023-07-03)


### Features

* add include keyword to wit grammar ([#17](https://github.com/bytecodealliance/vscode-wit/issues/17)) ([dcc5a30](https://github.com/bytecodealliance/vscode-wit/commit/dcc5a30d300146eac0ee5fac8287a4d30ce6106f))

## [0.1.1](https://github.com/bytecodealliance/vscode-wit/compare/wit-idl-v0.1.0...wit-idl-v0.1.1) (2023-04-15)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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": "WIT IDL",
"description": "WebAssembly Interface Type (WIT) IDL Extension for VSCode",
"private": true,
"version": "0.1.1",
"version": "0.1.2",
"publisher": "bytecodealliance",
"icon": "images/wit-icon.png",
"repository": {
Expand Down