Skip to content

Commit

Permalink
Do we have bash?
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronMoat committed Feb 6, 2024
1 parent aa59902 commit 33f5d1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/snapshot-pre-publish.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env sh
#!/usr/bin/env bash

set -euxo pipefail
set -euo pipefail

jq -r '.version = "'$(cat .changeset-version)'" + (.version | sub("0.0.0"; ""))' package.json > package.json.tmp
mv package.json.tmp package.json
Expand Down
2 changes: 1 addition & 1 deletion scripts/snapshot-pre-version.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env sh

set -euxo pipefail
set -eux

pnpm changeset version
jq -r '.version' package.json > .changeset-version
Expand Down

0 comments on commit 33f5d1e

Please sign in to comment.