Skip to content

Commit

Permalink
Bundle properly (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-wiemer authored Oct 8, 2024
1 parent a69fcdc commit fb964f9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,38 @@
# Whenever any tag is pushed to the repo
on:
workflow_dispatch:
push:
tags:
- '*'
workflow_dispatch:

name: Deploy Extension
name: Publish extension
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-node@v3.6.0
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- run: npm run package
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
with:
# Generated via https://open-vsx.org/user-settings/tokens
# Saved locally as "CI VS Code Open VSX publish token"
pat: ${{ secrets.OPEN_VSX_TOKEN }}
extensionFile: 'ahkpp.vsix'
# dryRun: true
# preRelease: true
skipDuplicate: true
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
# https://github.com/mark-wiemer-org/ahkpp/settings/secrets/actions
# https://dev.azure.com/markwiemer/_usersSettings/tokens
# Saved locally as "CI VS Code Marketplace Publish Token"
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
extensionFile: 'ahkpp.vsix'
registryUrl: https://marketplace.visualstudio.com
# dryRun: true
# preRelease: true
skipDuplicate: true
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 6.2.2 - 2024-10-07 🤏

- Reduce extension size by ~100x (yes, really) ([#533](https://github.com/mark-wiemer-org/ahkpp/issues/533))

## 6.2.1 - 2024-10-07 📚

- Restore readme to marketplaces (lost due to [auto-publish error](https://github.com/mark-wiemer-org/ahkpp/actions/runs/11225795502/job/31205122158))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"format:fix": "prettier --write .",
"lint": "npm run format && npm run eslint && npm run sort-package-json",
"lint:fix": "npm run format:fix && npm run eslint:fix && npm run sort-package-json:fix",
"package": "vsce package",
"package": "vsce package -o ahkpp.vsix",
"prepare": "git submodule update --init --recursive && cd ahk2 && npm install",
"sort-package-json": "sort-package-json --check",
"sort-package-json:fix": "sort-package-json",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

AHK++ is available for: [VS Code](https://code.visualstudio.com) | [Theia IDE](https://theia-ide.org) | [VSCodium](https://vscodium.com) | ...any other IDE that supports \*.vsix extensions

Install from a marketplace: [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=mark-wiemer.vscode-autohotkey-plus-plus) | [Open VSX Registry](https://open-vsx.org/extension/mark-wiemer/vscode-autohotkey-plus-plus)
Install from a marketplace: [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=mark-wiemer.vscode-autohotkey-plus-plus) | [Open VSX Registry](https://open-vsx.org/extension/mark-wiemer/vscode-autohotkey-plus-plus)

## AHK v2 full support is here! 🥂

Expand Down

0 comments on commit fb964f9

Please sign in to comment.