Skip to content

Commit 66caa0e

Browse files
committed
Release v0.0.8
1 parent 3fc4b90 commit 66caa0e

File tree

5 files changed

+28
-63
lines changed

5 files changed

+28
-63
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/productionize.yml

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,15 @@ jobs:
202202
run: |
203203
git checkout -b deno origin/deno
204204
205-
find . -type 'f' | grep -v -e ".git/" -e "package.json" -e "README.md" -e "LICENSE" -e "CONTRIBUTORS" -e "NOTICE" | xargs rm
206-
find . -mindepth 1 -type 'd' | grep -v -e ".git" | xargs rm -rf
205+
find . -type 'f' | grep -v -e ".git/" -e "package.json" -e "README.md" -e "LICENSE" -e "CONTRIBUTORS" -e "NOTICE" | xargs -r rm
206+
find . -mindepth 1 -type 'd' | grep -v -e ".git" | xargs -r rm -rf
207207
208208
git add -A
209-
git commit -m "Remove files"
209+
git commit -m "Remove files" --allow-empty
210210
211-
git merge -s recursive -X theirs origin/production --allow-unrelated-histories
211+
git config merge.theirs.name 'simulate `-s theirs`'
212+
git config merge.theirs.driver 'cat %B > %A'
213+
GIT_CONFIG_PARAMETERS="'merge.default=theirs'" git merge origin/production --allow-unrelated-histories
212214
213215
# If `deno` does not exist, create `deno` branch:
214216
- name: 'If `deno` does not exist, create `deno` branch'
@@ -292,8 +294,8 @@ jobs:
292294
# Delete everything in current directory aside from deno folder:
293295
- name: 'Delete everything in current directory aside from deno folder'
294296
run: |
295-
find . -type 'f' | grep -v -e "deno" -e ".git/" | xargs rm
296-
find . -mindepth 1 -type 'd' | grep -v -e "deno" -e ".git" | xargs rm -rf
297+
find . -type 'f' | grep -v -e "deno" -e ".git/" | xargs -r rm
298+
find . -mindepth 1 -type 'd' | grep -v -e "deno" -e ".git" | xargs -r rm -rf
297299
298300
# Move deno directory to root:
299301
- name: 'Move deno directory to root'
@@ -375,13 +377,15 @@ jobs:
375377
run: |
376378
git checkout -b umd origin/umd
377379
378-
find . -type 'f' | grep -v -e ".git/" -e "package.json" -e "README.md" -e "LICENSE" -e "CONTRIBUTORS" -e "NOTICE" | xargs rm
379-
find . -mindepth 1 -type 'd' | grep -v -e ".git" | xargs rm -rf
380+
find . -type 'f' | grep -v -e ".git/" -e "package.json" -e "README.md" -e "LICENSE" -e "CONTRIBUTORS" -e "NOTICE" | xargs -r rm
381+
find . -mindepth 1 -type 'd' | grep -v -e ".git" | xargs -r rm -rf
380382
381383
git add -A
382-
git commit -m "Remove files"
384+
git commit -m "Remove files" --allow-empty
383385
384-
git merge -s recursive -X theirs origin/production --allow-unrelated-histories
386+
git config merge.theirs.name 'simulate `-s theirs`'
387+
git config merge.theirs.driver 'cat %B > %A'
388+
GIT_CONFIG_PARAMETERS="'merge.default=theirs'" git merge origin/production --allow-unrelated-histories
385389
386390
# If `umd` does not exist, create `umd` branch:
387391
- name: 'If `umd` does not exist, create `umd` branch'
@@ -458,13 +462,13 @@ jobs:
458462
find ./umd -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/<script type=\"text\/javascript\">([\s\S]+?)<\/script>/<script type=\"text\/javascript\">\n\(function \(\) {\1}\)\(\);\n<\/script>/g"
459463
460464
# Create package.json file for umd branch:
461-
jq --indent 2 '{"name": .name, "version": .version, "description": .description, "license": .license, "main": "./browser.js", "homepage": .homepage, "repository": .repository, "bugs": .bugs, "keywords": .keywords, "funding": .funding}' package.json > ./umd/package.json
465+
jq --indent 2 '{"name": .name, "version": .version, "description": .description, "license": .license, "main": "./index.js", "homepage": .homepage, "repository": .repository, "bugs": .bugs, "keywords": .keywords, "funding": .funding}' package.json > ./umd/package.json
462466
463467
# Delete everything in current directory aside from umd folder:
464468
- name: 'Delete everything in current directory aside from umd folder'
465469
run: |
466-
find . -type 'f' | grep -v -e "umd" -e ".git/" | xargs rm
467-
find . -mindepth 1 -type 'd' | grep -v -e "umd" -e ".git" | xargs rm -rf
470+
find . -type 'f' | grep -v -e "umd" -e ".git/" | xargs -r rm
471+
find . -mindepth 1 -type 'd' | grep -v -e "umd" -e ".git" | xargs -r rm -rf
468472
469473
# Move umd directory to root:
470474
- name: 'Move umd directory to root'
@@ -546,13 +550,15 @@ jobs:
546550
run: |
547551
git checkout -b esm origin/esm
548552
549-
find . -type 'f' | grep -v -e ".git/" -e "package.json" -e "README.md" -e "LICENSE" -e "CONTRIBUTORS" -e "NOTICE" | xargs rm
550-
find . -mindepth 1 -type 'd' | grep -v -e ".git" | xargs rm -rf
553+
find . -type 'f' | grep -v -e ".git/" -e "package.json" -e "README.md" -e "LICENSE" -e "CONTRIBUTORS" -e "NOTICE" | xargs -r rm
554+
find . -mindepth 1 -type 'd' | grep -v -e ".git" | xargs -r rm -rf
551555
552556
git add -A
553-
git commit -m "Remove files"
557+
git commit -m "Remove files" --allow-empty
554558
555-
git merge -s recursive -X theirs origin/production --allow-unrelated-histories
559+
git config merge.theirs.name 'simulate `-s theirs`'
560+
git config merge.theirs.driver 'cat %B > %A'
561+
GIT_CONFIG_PARAMETERS="'merge.default=theirs'" git merge origin/production --allow-unrelated-histories
556562
557563
# If `esm` does not exist, create `esm` branch:
558564
- name: 'If `esm` does not exist, create `esm` branch'
@@ -640,8 +646,8 @@ jobs:
640646
# Delete everything in current directory aside from esm folder:
641647
- name: 'Delete everything in current directory aside from esm folder'
642648
run: |
643-
find . -type 'f' | grep -v -e "esm" -e ".git/" | xargs rm
644-
find . -mindepth 1 -type 'd' | grep -v -e "esm" -e ".git" | xargs rm -rf
649+
find . -type 'f' | grep -v -e "esm" -e ".git/" | xargs -r rm
650+
find . -mindepth 1 -type 'd' | grep -v -e "esm" -e ".git" | xargs -r rm -rf
645651
646652
# Move esm directory to root:
647653
- name: 'Move esm directory to root'

.github/workflows/publish.yml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -91,46 +91,6 @@ jobs:
9191
channel: '#npm-ci'
9292
if: failure()
9393

94-
# Define job to increment semver version and commit the changes to main branch...
95-
increment:
96-
97-
# Define the type of virtual host machine on which to run the job:
98-
runs-on: ubuntu-latest
99-
100-
# Define the sequence of job steps...
101-
steps:
102-
103-
# Checkout main branch of repository:
104-
- name: 'Checkout main branch'
105-
uses: actions/checkout@v3
106-
with:
107-
ref: main
108-
109-
# Increment version:
110-
- name: 'Increment version in `package.json` to the version number of the tag'
111-
run: |
112-
VERSION=$(echo ${{ github.ref }} | sed -E 's/refs\/tags\/v?([0-9]+.[0-9]+.[0-9]+).*/\1/')
113-
sed -Ei "s/\"version\": \"[^\"]+\"/\"version\": \"$VERSION\"/g" package.json
114-
115-
# Configure git:
116-
- name: 'Configure git'
117-
run: |
118-
git config --local user.email "noreply@stdlib.io"
119-
git config --local user.name "stdlib-bot"
120-
121-
# Commit changes:
122-
- name: 'Commit changes'
123-
run: |
124-
git add package.json
125-
git commit -m "Auto-generated commit"
126-
127-
# Push changes:
128-
- name: 'Push changes'
129-
run: |
130-
SLUG=${{ github.repository }}
131-
echo "Pushing changes to $SLUG..."
132-
git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$SLUG.git" main
133-
13494
# Define job to cancel any running or queued workflow runs...
13595
cancel:
13696

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
265265
[npm-image]: http://img.shields.io/npm/v/@stdlib/blas-ext-base-gcusumpw.svg
266266
[npm-url]: https://npmjs.org/package/@stdlib/blas-ext-base-gcusumpw
267267

268-
[test-image]: https://github.com/stdlib-js/blas-ext-base-gcusumpw/actions/workflows/test.yml/badge.svg?branch=main
269-
[test-url]: https://github.com/stdlib-js/blas-ext-base-gcusumpw/actions/workflows/test.yml?query=branch:main
268+
[test-image]: https://github.com/stdlib-js/blas-ext-base-gcusumpw/actions/workflows/test.yml/badge.svg?branch=v0.0.8
269+
[test-url]: https://github.com/stdlib-js/blas-ext-base-gcusumpw/actions/workflows/test.yml?query=branch:v0.0.8
270270

271271
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/blas-ext-base-gcusumpw/main.svg
272272
[coverage-url]: https://codecov.io/github/stdlib-js/blas-ext-base-gcusumpw?branch=main

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stdlib/blas-ext-base-gcusumpw",
3-
"version": "0.0.7",
3+
"version": "0.0.8",
44
"description": "Calculate the cumulative sum of strided array elements using pairwise summation.",
55
"license": "Apache-2.0",
66
"author": {

0 commit comments

Comments
 (0)