Skip to content

Commit

Permalink
Merge pull request #254 from privacy-scaling-explorations/feat/nico/f…
Browse files Browse the repository at this point in the history
…ix-sed

workflow(fix): silent sed errors
  • Loading branch information
NicoSerranoP authored Jan 31, 2024
2 parents 56314b0 + 16d1aad commit 0fb27d7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/firebase-deploy-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
sed -i -e 's/"@p0tion\/actions": "[^"]*"/"@devtion\/actions": "latest"/g' ./packages/backend/package.json
# Update string literals in TypeScript files
sed -i 's|p0tion/actions|devtion/actions|g' packages/**/*.ts
find packages -type f -name '*.ts' ! -path '*/node_modules/*' -exec sed -i 's|p0tion/actions|devtion/actions|g' {} +
cat ./packages/backend/package.json
cat ./packages/backend/src/functions/ceremony.ts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firebase-deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
sed -i -e 's/"@p0tion\/actions": "[^"]*"/"@stagtion\/actions": "latest"/g' ./packages/backend/package.json
# Update string literals in TypeScript files
sed -i 's|p0tion/actions|stagtion/actions|g' packages/**/*.ts
find packages -type f -name '*.ts' ! -path '*/node_modules/*' -exec sed -i 's|p0tion/actions|stagtion/actions|g' {} +
- name: Install npm packages and write env
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-dev-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
sed -i -e 's/"name": "@p0tion\/actions"/"name": "@devtion\/actions"/g' ./packages/actions/package.json
# Update string literals in TypeScript and JS files
sed -i 's|p0tion/actions|devtion/actions|g' packages/**/*.ts
sed -i 's|p0tion/actions|devtion/actions|g' packages/**/*.js
find packages -type f -name '*.ts' ! -path '*/node_modules/*' -exec sed -i 's|p0tion/actions|devtion/actions|g' {} +
find packages -type f -name '*.js' ! -path '*/node_modules/*' -exec sed -i 's|p0tion/actions|devtion/actions|g' {} +
- name: Install lerna
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-staging-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
sed -i -e 's/"name": "@p0tion\/actions"/"name": "@stagtion\/actions"/g' ./packages/actions/package.json
# Update string literals in TypeScript and JS files
sed -i 's|p0tion/actions|stagtion/actions|g' packages/**/*.ts
sed -i 's|p0tion/actions|stagtion/actions|g' packages/**/*.js
find packages -type f -name '*.ts' ! -path '*/node_modules/*' -exec sed -i 's|p0tion/actions|stagtion/actions|g' {} +
find packages -type f -name '*.js' ! -path '*/node_modules/*' -exec sed -i 's|p0tion/actions|stagtion/actions|g' {} +
- name: Install lerna
run: |
Expand Down

0 comments on commit 0fb27d7

Please sign in to comment.