-
-
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
f5d1a8a
commit 4ab2986
Showing
13 changed files
with
253 additions
and
57 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 |
---|---|---|
|
@@ -93,8 +93,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" | ||
|
@@ -190,8 +190,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" | ||
|
@@ -343,7 +343,6 @@ jobs: | |
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2 | ||
with: | ||
status: ${{ job.status }} | ||
steps: ${{ toJson(steps) }} | ||
channel: '#npm-ci' | ||
if: failure() | ||
|
||
|
@@ -366,8 +365,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" | ||
|
@@ -516,7 +515,6 @@ jobs: | |
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2 | ||
with: | ||
status: ${{ job.status }} | ||
steps: ${{ toJson(steps) }} | ||
channel: '#npm-ci' | ||
if: failure() | ||
|
||
|
@@ -539,8 +537,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" | ||
|
@@ -695,7 +693,6 @@ jobs: | |
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2 | ||
with: | ||
status: ${{ job.status }} | ||
steps: ${{ toJson(steps) }} | ||
channel: '#npm-ci' | ||
if: failure() | ||
|
||
|
@@ -718,8 +715,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" | ||
|
@@ -893,7 +890,6 @@ jobs: | |
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2 | ||
with: | ||
status: ${{ job.status }} | ||
steps: ${{ toJson(steps) }} | ||
channel: '#npm-ci' | ||
if: failure() | ||
|
||
|
@@ -933,8 +929,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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,8 +74,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" | ||
|
@@ -129,7 +129,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 | ||
|
@@ -145,7 +145,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.