Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into sagerb-add-publisher-…
Browse files Browse the repository at this point in the history
…log-link-to-deployment-in-progress
  • Loading branch information
sagerb committed Jul 1, 2024
2 parents b523064 + c041da6 commit bf24ae0
Show file tree
Hide file tree
Showing 33 changed files with 1,237 additions and 694 deletions.
1 change: 0 additions & 1 deletion .dockerignore

This file was deleted.

51 changes: 37 additions & 14 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
needs:
- build
uses: ./.github/workflows/package.yaml
publish-vscode-extension:
publish-vscode-marketplace:
needs:
- package
runs-on: ubuntu-latest
Expand All @@ -35,24 +35,47 @@ jobs:
name: dist
path: dist

- id: get-prerelease
run: echo "prerelease=$(just pre-release)" >> "$GITHUB_OUTPUT"
- id: get-extension-path
run: echo "extension_path=dist/$(just name)-$(just version)-${{ matrix.target }}.vsix" >> "$GITHUB_OUTPUT"

- name: Publish to Open VSX Registry
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
extensionFile: dist/*-${{ matrix.target }}.vsix
target: ${{ matrix.target }}
preRelease: ${{ steps.get-prerelease.outputs.prerelease == 'true' }}
registryUrl: https://marketplace.visualstudio.com
pat: ${{ secrets.VSCE_PAT }}
extensionFile: ${{ steps.get-extension-path.outputs.extension_path }}
skipDuplicate: true

- name: Publish to Visual Studio Marketplace
publish-open-vsx:
needs:
- package
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- darwin-amd64
- darwin-arm64
- linux-amd64
- linux-arm64
- windows-amd64
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
- uses: actions/setup-node@v4
with:
node-version: "20"
- uses: actions/download-artifact@v4
with:
name: dist
path: dist

- id: get-extension-path
run: echo "extension_path=dist/$(just name)-$(just version)-${{ matrix.target }}.vsix" >> "$GITHUB_OUTPUT"

- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
with:
registryUrl: https://marketplace.visualstudio.com
pat: ${{ secrets.VSCE_PAT }}
extensionFile: dist/*-${{ matrix.target }}.vsix
target: ${{ matrix.target }}
preRelease: ${{ steps.get-prerelease.outputs.prerelease == 'true' }}
pat: ${{ secrets.OPEN_VSX_TOKEN }}
extensionFile: ${{ steps.get-extension-path.outputs.extension_path }}
skipDuplicate: true
64 changes: 64 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,70 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.3]

### Added

- Added links to marketplaces in extension README (#1899)

### Changed

- Split extension publishing CI in to two separate jobs to facilitate reruns (#1898)

## [1.1.2]

### Fixed

- Fixed VSIX target OS and architecture (#1895)

## [1.1.1]

### Fixed

- Fixed the release tooling for publishing the VSCode extension (#1893)

## [1.1.0]

### Added

- Added a [VSCode Walkthrough](https://code.visualstudio.com/api/ux-guidelines/walkthroughs)
for the extension (#1834)
- Added the currently-deploying Deployment's title to the Posit Publisher Logs
view for more clarity (#1756)
- Added a confirmation prompt when deleting a Credential (#1733)
- Added a "Get Package Descriptions" deploying stage to the Posit Publisher Logs
view for R projects (#1593)
- Added a link to the GitHub Discussions for the project in the help and
feedback view (#1884)
- Added validation for server URLs and API keys when creating Credentials
(#1610, #1611, #1612)

### Changed

- Generated configuration files now omit `has_parameters` if it is `false`
(#1788)
- Adjusted the VSCode extension file watcher to send file information to views
less frequently when large amounts of files are being created or deleted.
Sending is now debounced. (#1735)
- Rendered files are now excluded by default in generated Configurations for
Quarto deployments (#1707)
- Moved the settings for the VSCode extension under the "Posit Publisher" title
(#1869)
- Stopped `.ipynb` from being identified as potential `quarto` projects to avoid
deploying HTML without executing the code cells (#1863)

### Fixed

- Deployed Posit Connect manifests no longer contain empty option sections if
they are ommitted in the configuration file (#1823)
- Fixed the "Got To Publishing Log" link in the last deployment message
context menu (#1889)

### Removed

- Removed the executable path option now that the extension is bundled with the
publisher binary (#1877)

## [1.0.beta1]

### Added
Expand Down
12 changes: 3 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ minor version number is odd.
- the [CHANGELOG.md](CHANGELOG.md) for the repository
- the [VSCode Extension CHANGELOG.md](extensions/vscode/CHANGELOG.md)
that is bundled with the extension
- Update the Installation instructions in [installation.md](docs/installation.md)
for the new release, using the links to the `.vsix` files uploaded to the CDN.
- Update the release / latest version string in the `install-publisher.bash` script.
- Update the license docs in case any new dependencies have been added, by running

```
Expand Down Expand Up @@ -173,12 +176,3 @@ This command will trigger the [Release GitHub Action](https://github.com/rstudio
Once complete the action has completed, the release will be available on the
[Releases page](https://github.com/rstudio/publishing-client/releases), and
published to the VSCode Marketplace.

**Step 4**

Update the Installation instructions in [installation.md](docs/installation.md)
for the new release, using the links to the `.vsix` files uploaded to the CDN.

**Step 5**

Update the release / latest version string in the `install-publisher.bash` script.
10 changes: 5 additions & 5 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ VSCode.

Download and install the VSCode extension.

- For Arm MacOS: [publisher-1.1.0-darwin-arm64.vsix](https://cdn.posit.co/publisher/releases/tags/v1.1.0/publisher-1.1.0-darwin-arm64.vsix)
- For Intel MacOS: [publisher-1.1.0-darwin-amd64.vsix](https://cdn.posit.co/publisher/releases/tags/v1.1.0/publisher-1.1.0-darwin-amd64.vsix)
- For Windows: [publisher-1.1.0-windows-amd64.vsix](https://cdn.posit.co/publisher/releases/tags/v1.1.0/publisher-1.1.0-windows-amd64.vsix)
- For Arm Linux: [publisher-1.1.0-linux-arm64.vsix](https://cdn.posit.co/publisher/releases/tags/v1.1.0/publisher-1.1.0-linux-arm64.vsix)
- For Intel Linux: [publisher-1.1.0-linux-amd64.vsix](https://cdn.posit.co/publisher/releases/tags/v1.1.0/publisher-1.1.0-linux-amd64.vsix)
- For Arm MacOS: [publisher-1.1.3-darwin-arm64.vsix](https://cdn.posit.co/publisher/releases/tags/v1.1.3/publisher-1.1.3-darwin-arm64.vsix)
- For Intel MacOS: [publisher-1.1.3-darwin-amd64.vsix](https://cdn.posit.co/publisher/releases/tags/v1.1.3/publisher-1.1.3-darwin-amd64.vsix)
- For Windows: [publisher-1.1.3-windows-amd64.vsix](https://cdn.posit.co/publisher/releases/tags/v1.1.3/publisher-1.1.3-windows-amd64.vsix)
- For Arm Linux: [publisher-1.1.3-linux-arm64.vsix](https://cdn.posit.co/publisher/releases/tags/v1.1.3/publisher-1.1.3-linux-arm64.vsix)
- For Intel Linux: [publisher-1.1.3-linux-amd64.vsix](https://cdn.posit.co/publisher/releases/tags/v1.1.3/publisher-1.1.3-linux-amd64.vsix)

To learn how to install a `.vsix` file, see the [Install from a
VSIX](https://code.visualstudio.com/docs/editor/extension-marketplace#_install-from-a-vsix)
Expand Down
Loading

0 comments on commit bf24ae0

Please sign in to comment.