Skip to content

Commit 4a68b02

Browse files
committed
comment out changes we cant immediately test
1 parent 29ca751 commit 4a68b02

File tree

1 file changed

+41
-38
lines changed

1 file changed

+41
-38
lines changed

.github/workflows/publish.yml

+41-38
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,16 @@ jobs:
8686
- name: Update version number
8787
run: yarn run bump ${{ github.event.inputs.version }}
8888

89-
- name: Commit to main, create tag, and push
90-
run: |
91-
git add .
92-
git config --global user.name ${{ github.actor }}
93-
git config --global user.email ${{ github.actor }}@users.noreply.github.com
94-
git commit -m 'Update version number to v${{ github.event.inputs.version }}'
95-
git tag v${{ github.event.inputs.version }}
96-
git push origin main v${{ github.event.inputs.version }}
97-
env:
98-
GITHUB_TOKEN: ${{ secrets.SOURCERY_RELEASE_TOKEN }}
89+
# - name: Commit to main, create tag, and push
90+
# run: |
91+
# git add .
92+
# git config --global user.name ${{ github.actor }}
93+
# git config --global user.email ${{ github.actor }}@users.noreply.github.com
94+
# git commit -m 'Update version number to v${{ github.event.inputs.version }}'
95+
# git tag v${{ github.event.inputs.version }}
96+
# git push origin main v${{ github.event.inputs.version }}
97+
# env:
98+
# GITHUB_TOKEN: ${{ secrets.SOURCERY_RELEASE_TOKEN }}
9999

100100
- name: Download artifacts
101101
uses: actions/download-artifact@v4
@@ -104,36 +104,39 @@ jobs:
104104
path: artifacts
105105

106106
# TODO: Make this release not pre-release once tested.
107+
- name: Debug - List VSIX files
108+
run: find . -iname *.vsix -ls
109+
107110
- name: Package and publish VSCode extension
108111
run: |
109112
yarn run vsce publish --packagePath $(find . -iname *.vsix) -p ${{ secrets.VSCE_TOKEN }} --pre-release
110113
111114
# TODO: Make this release not pre-release once tested.
112-
- name: Create release
113-
uses: ncipollo/release-action@v1
114-
with:
115-
tag: v${{ github.event.inputs.version }}
116-
name: Sourcery ${{ github.event.inputs.version }}
117-
body: v${{ github.event.inputs.version }}
118-
prerelease: true
119-
artifacts: 'artifacts/*.vsix'
120-
artifactContentType: raw
121-
artifactErrorsFailBuild: true
122-
token: ${{ secrets.SOURCERY_RELEASE_TOKEN }}
123-
124-
- name: Update version number to dev
125-
run: |
126-
yarn run bump prepatch --preid dev
127-
git commit -am 'Bump version to dev'
128-
git push origin main
129-
env:
130-
GITHUB_TOKEN: ${{ secrets.SOURCERY_RELEASE_TOKEN }}
131-
132-
- name: Notify Slack
133-
uses: 8398a7/action-slack@v3
134-
with:
135-
status: ${{ job.status }}
136-
text: Publish VS Code extension v${{ github.event.inputs.version }} - ${{ job.status }}
137-
env:
138-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_RELEASES_WEBHOOK_URL }}
139-
if: always()
115+
# - name: Create release
116+
# uses: ncipollo/release-action@v1
117+
# with:
118+
# tag: v${{ github.event.inputs.version }}
119+
# name: Sourcery ${{ github.event.inputs.version }}
120+
# body: v${{ github.event.inputs.version }}
121+
# prerelease: true
122+
# artifacts: 'artifacts/*.vsix'
123+
# artifactContentType: raw
124+
# artifactErrorsFailBuild: true
125+
# token: ${{ secrets.SOURCERY_RELEASE_TOKEN }}
126+
127+
# - name: Update version number to dev
128+
# run: |
129+
# yarn run bump prepatch --preid dev
130+
# git commit -am 'Bump version to dev'
131+
# git push origin main
132+
# env:
133+
# GITHUB_TOKEN: ${{ secrets.SOURCERY_RELEASE_TOKEN }}
134+
135+
# - name: Notify Slack
136+
# uses: 8398a7/action-slack@v3
137+
# with:
138+
# status: ${{ job.status }}
139+
# text: Publish VS Code extension v${{ github.event.inputs.version }} - ${{ job.status }}
140+
# env:
141+
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_RELEASES_WEBHOOK_URL }}
142+
# if: always()

0 commit comments

Comments
 (0)