-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from ahnafnafee/fix-readme
- Loading branch information
Showing
8 changed files
with
293 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Build extension | ||
|
||
on: | ||
push: | ||
branches: ["master"] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Build and package | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js 20 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: "npm" | ||
registry-url: https://registry.npmjs.org/ | ||
- name: Install dependencies | ||
run: | | ||
npm install -g @vscode/vsce | ||
npm ci | ||
- name: Get NPM Version | ||
id: package-version | ||
uses: martinbeentjes/[email protected] | ||
- name: Build extension | ||
run: vsce package -o postscript-preview-${{ steps.package-version.outputs.current-version }}.vsix | ||
- name: Upload a Build Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: postscript-preview-${{ steps.package-version.outputs.current-version }}.vsix | ||
path: postscript-preview-${{ steps.package-version.outputs.current-version }}.vsix | ||
if-no-files-found: error | ||
- name: Create release with artifact | ||
if: ${{ success() && steps.package-version.outputs.current-version }} | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
name: Release v${{ steps.package-version.outputs.current-version }} | ||
draft: false | ||
files: postscript-preview-${{ steps.package-version.outputs.current-version }}.vsix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Publish extension | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
openvsx: | ||
name: "Open VSX Registry" | ||
if: endsWith(github.event.release.assets[0].name, '.vsix') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download release artifact | ||
run: "curl -L -H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' -H 'Accept: application/octet-stream' ${{ github.event.release.assets[0].url }} --output extension.vsix" | ||
- name: Validate extension file | ||
run: unzip -f extension.vsix extension/package.json | ||
- name: Publish to Open VSX Registry | ||
uses: HaaLeo/publish-vscode-extension@v1 | ||
with: | ||
pat: ${{ secrets.OPEN_VSX_TOKEN }} | ||
extensionFile: extension.vsix | ||
vs: | ||
name: "Visual Studio Marketplace" | ||
if: endsWith(github.event.release.assets[0].name, '.vsix') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download release artifact | ||
run: "curl -L -H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' -H 'Accept: application/octet-stream' ${{ github.event.release.assets[0].url }} --output extension.vsix" | ||
- name: Validate extension file | ||
run: unzip -f extension.vsix extension/package.json | ||
- name: Publish to Visual Studio Marketplace | ||
uses: HaaLeo/publish-vscode-extension@v1 | ||
with: | ||
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} | ||
registryUrl: https://marketplace.visualstudio.com | ||
extensionFile: extension.vsix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,50 @@ | ||
# Change Log | ||
|
||
## [0.4.4] - 2024-09-23 | ||
|
||
- Fixed README issues | ||
- Added doc to pin to version 0.89.0 for poppler on Windows | ||
- Added auto-refresh capability | ||
|
||
## [0.4.0] - 2021-11-11 | ||
|
||
- Fixed pdf conversion error | ||
- Updated README with new instructions | ||
|
||
|
||
- Fixed pdf conversion error | ||
- Updated README with new instructions | ||
|
||
## [0.3.2] - 2021-11-11 | ||
|
||
- Fixed README instructions | ||
- Version bump | ||
|
||
|
||
- Fixed README instructions | ||
- Version bump | ||
|
||
## [0.3.1] - 2021-10-22 | ||
|
||
- Version bump | ||
|
||
|
||
- Version bump | ||
|
||
## [0.3.0] - 2021-10-11 | ||
|
||
- Fixed controller scrolling | ||
- Added instructions for Ubuntu install | ||
|
||
|
||
- Fixed controller scrolling | ||
- Added instructions for Ubuntu install | ||
|
||
## [0.2.3] - 2021-10-09 | ||
|
||
- Added option to hide controls | ||
- Fixed container sizing issue | ||
- Switched controller positioning | ||
|
||
|
||
- Added option to hide controls | ||
- Fixed container sizing issue | ||
- Switched controller positioning | ||
|
||
## [0.2.1] - 2021-10-08 | ||
|
||
- Fixed requirement instructions | ||
|
||
|
||
- Fixed requirement instructions | ||
|
||
## [0.2.0] - 2021-10-08 | ||
|
||
- Added support for SVG Pan and Zoom | ||
- Added support for changing background color of preview window | ||
|
||
- Fixed issue with Windows 10 preview | ||
- Added support for SVG Pan and Zoom | ||
- Added support for changing background color of preview window | ||
|
||
- Fixed issue with Windows 10 preview | ||
|
||
## [0.1.0] - 2020-07-19 | ||
|
||
- Basic functionality of EPS preview. | ||
- A command to invoke the preview. | ||
- A preview icon in the menu bar for open EPS file. | ||
- README and CHANGELOG files. | ||
- Basic functionality of EPS preview. | ||
- A command to invoke the preview. | ||
- A preview icon in the menu bar for open EPS file. | ||
- README and CHANGELOG files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,13 @@ | |
"name": "postscript-preview", | ||
"displayName": "PostScript Preview", | ||
"description": "PostScript Preview is an extension that helps to preview EPS and PS files in Visual Studio Code.", | ||
"version": "0.4.2", | ||
"version": "0.4.4", | ||
"icon": "images/logo.png", | ||
"publisher": "ahnafnafee", | ||
"engines": { | ||
"vscode": "^1.46.0" | ||
}, | ||
"categories": [ | ||
"Other" | ||
], | ||
"categories": ["Other"], | ||
"author": { | ||
"name": "Ahnaf An Nafee", | ||
"email": "[email protected]" | ||
|
@@ -19,12 +17,7 @@ | |
"color": "#4B7D78", | ||
"theme": "dark" | ||
}, | ||
"keywords": [ | ||
"postscript", | ||
"ghostscript", | ||
"ps", | ||
"preview" | ||
], | ||
"keywords": ["postscript", "ghostscript", "ps", "preview"], | ||
"activationEvents": [ | ||
"onCommand:postscript-preview.sidePreview", | ||
"onLanguage:postscript" | ||
|
@@ -77,5 +70,8 @@ | |
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ahnafnafee/PostScript-Preview.git" | ||
}, | ||
"sponsor": { | ||
"url": "https://github.com/sponsors/ahnafnafee" | ||
} | ||
} |
Oops, something went wrong.