-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb5d1c4
commit bd3e706
Showing
12 changed files
with
281 additions
and
45 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
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 |
---|---|---|
|
@@ -94,8 +94,8 @@ jobs: | |
node -e "var pkg = require( './package.json' ); pkg.dependencies[ '@stdlib/error-tools-fmtprodmsg' ] = '^$PKG_VERSION'; require( 'fs' ).writeFileSync( 'package.json', JSON.stringify( pkg, null, 2 ) );" | ||
fi | ||
# Configure git: | ||
- name: 'Configure git' | ||
# Configure Git: | ||
- name: 'Configure Git' | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "stdlib-bot" | ||
|
@@ -191,8 +191,8 @@ jobs: | |
# Pin action to full length commit SHA | ||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | ||
|
||
# Configure git: | ||
- name: 'Configure git' | ||
# Configure Git: | ||
- name: 'Configure Git' | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "stdlib-bot" | ||
|
@@ -344,7 +344,6 @@ jobs: | |
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2 | ||
with: | ||
status: ${{ job.status }} | ||
steps: ${{ toJson(steps) }} | ||
channel: '#npm-ci' | ||
if: failure() | ||
|
||
|
@@ -367,8 +366,8 @@ jobs: | |
# Pin action to full length commit SHA | ||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | ||
|
||
# Configure git: | ||
- name: 'Configure git' | ||
# Configure Git: | ||
- name: 'Configure Git' | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "stdlib-bot" | ||
|
@@ -518,7 +517,6 @@ jobs: | |
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2 | ||
with: | ||
status: ${{ job.status }} | ||
steps: ${{ toJson(steps) }} | ||
channel: '#npm-ci' | ||
if: failure() | ||
|
||
|
@@ -541,8 +539,8 @@ jobs: | |
# Pin action to full length commit SHA | ||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | ||
|
||
# Configure git: | ||
- name: 'Configure git' | ||
# Configure Git: | ||
- name: 'Configure Git' | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "stdlib-bot" | ||
|
@@ -698,7 +696,6 @@ jobs: | |
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2 | ||
with: | ||
status: ${{ job.status }} | ||
steps: ${{ toJson(steps) }} | ||
channel: '#npm-ci' | ||
if: failure() | ||
|
||
|
@@ -738,8 +735,8 @@ jobs: | |
echo "bump=true" >> $GITHUB_OUTPUT | ||
fi | ||
# Configure git: | ||
- name: 'Configure git' | ||
# Configure Git: | ||
- name: 'Configure Git' | ||
if: steps.check-if-bump.outputs.bump | ||
run: | | ||
git config --local user.email "[email protected]" | ||
|
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 |
---|---|---|
|
@@ -72,8 +72,8 @@ jobs: | |
node-version: 20 | ||
timeout-minutes: 5 | ||
|
||
# Configure git: | ||
- name: 'Configure git' | ||
# Configure Git: | ||
- name: 'Configure Git' | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "stdlib-bot" | ||
|
@@ -94,6 +94,10 @@ jobs: | |
# Replace branch in README.md link definitions for badges with the new version: | ||
find . -type f -name '*.md' -print0 | xargs -0 sed -Ei "s/branch([=:])[^ ]+/branch\1v${NEW_VERSION}/g" | ||
# Rewrite CHANGELOG.md to replace "Unreleased" with the new version: | ||
sed -Ei "s/Unreleased/${NEW_VERSION}/g" CHANGELOG.md | ||
sed -Ei "s/unreleased/v${NEW_VERSION}/g" CHANGELOG.md | ||
# Create a new commit and tag: | ||
git add package.json README.md | ||
git commit -m "Release v${NEW_VERSION}" | ||
|
@@ -202,7 +206,7 @@ jobs: | |
# Publish package to npm: | ||
- name: 'Publish package to npm' | ||
# Pin action to full length commit SHA | ||
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1 | ||
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1 | ||
with: | ||
token: ${{ secrets.NPM_TOKEN }} | ||
access: public | ||
|
@@ -218,7 +222,6 @@ jobs: | |
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2 | ||
with: | ||
status: ${{ job.status }} | ||
steps: ${{ toJson(steps) }} | ||
channel: '#npm-ci' | ||
if: failure() | ||
|
||
|
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
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
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
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
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
Oops, something went wrong.