Skip to content

Commit

Permalink
Switch to versioned usage of Asherah-Cobhan (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdy authored Mar 14, 2022
1 parent c25661f commit 00fc8be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: npm run build
- name: Test
run: npm test
- name: Verify tag matches package version
- name: Set version to match tag
run: scripts/set-version.sh ${GITHUB_REF#refs/*/}
- name: Publish (main)
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc && npm publish; rm .npmrc
Expand Down
10 changes: 6 additions & 4 deletions scripts/download-libasherah.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/bin/bash

VERSION=v0.1.2

rm -rf binaries
mkdir binaries
cd binaries || exit 1
curl -s -L --fail -O --retry 999 --retry-max-time 0 https://github.com/godaddy/asherah-cobhan/releases/download/current/libasherah-arm64.dylib
curl -s -L --fail -O --retry 999 --retry-max-time 0 https://github.com/godaddy/asherah-cobhan/releases/download/${VERSION}/libasherah-arm64.dylib
sha256sum libasherah-arm64.dylib
curl -s -L --fail -O --retry 999 --retry-max-time 0 https://github.com/godaddy/asherah-cobhan/releases/download/current/libasherah-arm64.so
curl -s -L --fail -O --retry 999 --retry-max-time 0 https://github.com/godaddy/asherah-cobhan/releases/download/${VERSION}/libasherah-arm64.so
sha256sum libasherah-arm64.so
curl -s -L --fail -O --retry 999 --retry-max-time 0 https://github.com/godaddy/asherah-cobhan/releases/download/current/libasherah-x64.dylib
curl -s -L --fail -O --retry 999 --retry-max-time 0 https://github.com/godaddy/asherah-cobhan/releases/download/${VERSION}/libasherah-x64.dylib
sha256sum libasherah-x64.dylib
curl -s -L --fail -O --retry 999 --retry-max-time 0 https://github.com/godaddy/asherah-cobhan/releases/download/current/libasherah-x64.so
curl -s -L --fail -O --retry 999 --retry-max-time 0 https://github.com/godaddy/asherah-cobhan/releases/download/${VERSION}/libasherah-x64.so
sha256sum libasherah-x64.so

0 comments on commit 00fc8be

Please sign in to comment.