Skip to content

Commit

Permalink
fix: revert pipeline steps
Browse files Browse the repository at this point in the history
  • Loading branch information
dannysteenman committed Nov 14, 2024
1 parent 070b702 commit 95efb9b
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "20"
- name: Install Python
run: |
set -x -e
Expand All @@ -34,22 +34,13 @@ jobs:
# Update version
npm version minor --force --no-git-tag-version
package_version=$(cat package.json | grep 'version":' | sed 's/[",]//g' | awk '{print $2}')
package_version=$(cat package.json|grep 'version":'|sed 's/[",]//g'|awk '{print $2}')
cfn_release_rss_summary=$(python3 src/feed.py)
# Install dependencies and prepare for publishing
npm install
npm run vscode:prepublish
# Generate changelog
gitchangelog | tee "CHANGELOG.md"
# Commit and push changes
git commit -am "build: auto-update snippets to version: $package_version"
git push
# Create and push tag
git commit -am "$cfn_release_rss_summary"
git tag $package_version
gitchangelog|tee "CHANGELOG.md"
git commit -am "Changelog version: $package_version"
git push
git push origin --tags
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
Expand Down

0 comments on commit 95efb9b

Please sign in to comment.