fix variable names in CI

This commit is contained in:
Abraham Toriz 2022-11-26 18:54:17 -06:00
parent d56ef65f73
commit 5ae5e32cfb
No known key found for this signature in database
GPG Key ID: D5B4A746DB5DD42A
1 changed files with 8 additions and 8 deletions

View File

@ -114,13 +114,13 @@ deploy:arch-bin:
- git config --global user.name "$COMMITER_NAME" - git config --global user.name "$COMMITER_NAME"
- git config --global user.email "$COMMITER_EMAIL" - git config --global user.email "$COMMITER_EMAIL"
# Clone the repo # Clone the repo
- git clone $BIN_REPO_URL $PROJECT_NAME-bin - git clone $BIN_REPO_URL tiempo-bin
# generate the PKGBUILD in the current directory # generate the PKGBUILD in the current directory
- scripts/release-aur-bin.sh - scripts/release-aur-bin.sh
- mv PKGBUILD $PROJECT_NAME-bin/ - mv PKGBUILD tiempo-bin/
- mv .SRCINFO $PROJECT_NAME-bin/ - mv .SRCINFO tiempo-bin/
# commit # commit
- cd $PROJECT_NAME-bin - cd tiempo-bin
- git add . - git add .
- git commit -m "Release version $CI_COMMIT_TAG" - git commit -m "Release version $CI_COMMIT_TAG"
- git push - git push
@ -142,13 +142,13 @@ deploy:arch-git:
- git config --global user.name "$COMMITER_NAME" - git config --global user.name "$COMMITER_NAME"
- git config --global user.email "$COMMITER_EMAIL" - git config --global user.email "$COMMITER_EMAIL"
# clone the repo # clone the repo
- git clone $GIT_REPO_URL $PROJECT_NAME-git - git clone $GIT_REPO_URL tiempo-git
# finally run the script # finally run the script
- scripts/release-aur-git.sh - scripts/release-aur-git.sh
- mv PKGBUILD $PROJECT_NAME-bin/ - mv PKGBUILD tiempo-bin/
- mv .SRCINFO $PROJECT_NAME-bin/ - mv .SRCINFO tiempo-bin/
# and commit # and commit
- cd $PROJECT_NAME-bin - cd tiempo-bin
- git add . - git add .
- git commit -m "Release version $VERSION" - git commit -m "Release version $VERSION"
- git push - git push