Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update back to real releases after testing #260

Merged
merged 1 commit into from
Jan 15, 2025
Merged
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
10 changes: 3 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@ jobs:
- name: Update version number
run: yarn run bump ${{ github.event.inputs.version }}

# TODO: Make this release not pre-release once tested.
- name: Package VSCode extension
run: yarn run vsce package --target ${{matrix.target}} --pre-release
run: yarn run vsce package --target ${{matrix.target}}

- name: Rename packaged VSIX file
run: mv sourcery-*.vsix sourcery-${{ github.event.inputs.version }}-${{ matrix.target }}.vsix
Expand Down Expand Up @@ -104,21 +103,18 @@ jobs:
merge-multiple: true
path: artifacts

# TODO: Make this release not pre-release once tested.


- name: Package and publish VSCode extension
run: |
yarn run vsce publish --packagePath $(find . -iname *.vsix) -p ${{ secrets.VSCE_TOKEN }} --pre-release
yarn run vsce publish --packagePath $(find . -iname *.vsix) -p ${{ secrets.VSCE_TOKEN }}

# TODO: Make this release not pre-release once tested.
- name: Create release
uses: ncipollo/release-action@v1
with:
tag: v${{ github.event.inputs.version }}
name: Sourcery ${{ github.event.inputs.version }}
body: v${{ github.event.inputs.version }}
prerelease: true
prerelease: false
artifacts: 'artifacts/*.vsix'
artifactContentType: raw
artifactErrorsFailBuild: true
Expand Down
Loading