Skip to content

Commit

Permalink
fix: branch name on sed
Browse files Browse the repository at this point in the history
  • Loading branch information
ga-devfront committed Jun 28, 2024
1 parent add1d0c commit ade6e86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/extract-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
repository: PrestaShopCorp/module-translation-tool
ref: main
- name: Create config for module-translation-tool
env:
BRANCH: ${{ github.ref_name }}
run: |
cp ./module.cfg.example ./module.cfg
BRANCH="${{ github.ref_name }}"
sed -i 's/^MODULE_NAME.*/MODULE_NAME="autoupgrade"/g' ./module.cfg
sed -i 's/^GIT_REPO_USERNAME.*/GIT_REPO_USERNAME="PrestaShop"/g' ./module.cfg
sed -i 's/^GIT_REPO_NAME.*/GIT_REPO_NAME="autoupgrade"/g' ./module.cfg
Expand Down

0 comments on commit ade6e86

Please sign in to comment.