-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(workflows): update GitHub Actions workflow steps
- Loading branch information
1 parent
4446550
commit 95b065a
Showing
3 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,18 +48,28 @@ jobs: | |
- name: Commit changes to Github | ||
run: | | ||
set -x -e | ||
# Configure git | ||
git config --global user.name 'Github Actions' | ||
git config --global user.email '[email protected]' | ||
# 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/update-and-parse-feed.py) | ||
# Install dependencies and prepare for publishing | ||
npm install | ||
npm run vscode:prepublish | ||
git commit -am "$cfn_release_rss_summary" | ||
git tag $package_version | ||
gitchangelog|tee "CHANGELOG.md" | ||
git commit -am "Changelog version: $package_version" | ||
# 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 tag $package_version | ||
git push origin --tags | ||
- name: Publish to Visual Studio Marketplace | ||
uses: HaaLeo/publish-vscode-extension@v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
"aws", | ||
"cloudformation", | ||
"sam", | ||
"template", | ||
"iac", | ||
"yaml" | ||
], | ||
"badges": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
8969a672b9935d676064522ff98cf77be4054536de06371c5f2457be8d0cbb65 | ||
8969a672b9935d676064522ff98cf77be4054536de06371c5f245 |