Skip to content

Commit

Permalink
ci: double quotes to replace variable name in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Lerke committed Sep 27, 2024
1 parent 99d12ac commit baeaa4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.PAGES_SECRET }}
run: |
sed -i 's/\[\[VERSION\]\]/$GITHUB_REF_NAME/g' ./projects/demo/src/environments/environment.prod.ts
sed -i 's/\[\[BUILD_DATE\]\]/$(git log -1 --format=%cd --date=format:%Y%m%dh%H%M%S)/g' ./projects/demo/src/environments/environment.prod.ts
sed -i "s/\[\[VERSION\]\]/$GITHUB_REF_NAME/g" ./projects/demo/src/environments/environment.prod.ts
sed -i "s/\[\[BUILD_DATE\]\]/$(git log -1 --format=%cd --date=format:%Y%m%dh%H%M%S)/g" ./projects/demo/src/environments/environment.prod.ts
ng build --configuration=production --base-href "/angular-toastify/"
npx angular-cli-ghpages --repo=https://github.com/scenius-software/angular-toastify.git --dir=dist/demo --name="Scenius Software Engineering" --email="[email protected]"
2 changes: 1 addition & 1 deletion projects/angular-toastify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-toastify",
"version": "2.0.0",
"version": "2.0.0-dev1",
"description": "Somewhat working clone of React Toastify.",
"author": "Scenius",
"repository": {
Expand Down

0 comments on commit baeaa4b

Please sign in to comment.