@@ -86,16 +86,16 @@ jobs:
86
86
- name : Update version number
87
87
run : yarn run bump ${{ github.event.inputs.version }}
88
88
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 }}
99
99
100
100
- name : Download artifacts
101
101
uses : actions/download-artifact@v4
@@ -104,36 +104,39 @@ jobs:
104
104
path : artifacts
105
105
106
106
# TODO: Make this release not pre-release once tested.
107
+ - name : Debug - List VSIX files
108
+ run : find . -iname *.vsix -ls
109
+
107
110
- name : Package and publish VSCode extension
108
111
run : |
109
112
yarn run vsce publish --packagePath $(find . -iname *.vsix) -p ${{ secrets.VSCE_TOKEN }} --pre-release
110
113
111
114
# 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