Skip to content

Commit

Permalink
[AXON-23] Add pre-release logic to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sdzh-atlassian committed Dec 9, 2024
1 parent 8180f0b commit 9c3ad27
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/release-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,20 @@ jobs:
- name: Build the extension
run: npm run extension:package

# No VSCE/OVSX publish actions here for the time being - let's get the builds going first
- name: Publish the pre-release extension
run: |
echo npx vsce publish \
--pre-release \
--baseContentUrl https://raw.githubusercontent.com/atlassian/atlascode/main/ \
-p ${{ secrets.VSCE_MARKETPLACE_TOKEN }} \
--packagePath atlascode-${PACKAGE_VERSION}.vsix
- name: Publish the pre-release to OpenVSX
run: |
echo npx ovsx publish \
--pre-release \
-p ${{ secrets.OPENVSX_KEY }} \
"atlascode-${PACKAGE_VERSION}.vsix"
- name: Create Tag
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
npx vsce verify-pat -p ${{ secrets.VSCE_MARKETPLACE_TOKEN }}
# echo npx vsce publish \
# -p ${{ secrets.VSCE_MARKETPLACE_TOKEN }} \
# --baseContentUrl https://bitbucket.org/atlassianlabs/atlascode/src/main/ \
# --baseContentUrl https://raw.githubusercontent.com/atlassian/atlascode/main/ \
# --packagePath atlascode-${PACKAGE_VERSION}.vsix
- name: Publish to OpenVSX
Expand Down

0 comments on commit 9c3ad27

Please sign in to comment.