Skip to content
Snippets Groups Projects
Commit c30b7bbc authored by julenalbi's avatar julenalbi
Browse files

change main to master

parent 28087b93
Branches
No related tags found
No related merge requests found
...@@ -18,12 +18,12 @@ update: ...@@ -18,12 +18,12 @@ update:
- git add package.json - git add package.json
- git commit -m "Dependencies updated to $current_version" - git commit -m "Dependencies updated to $current_version"
- npm version --allow-same-version $current_version - npm version --allow-same-version $current_version
- git checkout main # XXX Change this - git checkout master # XXX Change this
- git pull - git pull
- git branch --set-upstream-to=origin/main main - git branch --set-upstream-to=origin/master master
- git merge $current_version - git merge $current_version
- git remote rm origin && git remote add origin "https://${access_token_name}:${access_token}@git.code.tecnalia.com/${CI_PROJECT_PATH}.git" - git remote rm origin && git remote add origin "https://${access_token_name}:${access_token}@git.code.tecnalia.com/${CI_PROJECT_PATH}.git"
- git push --follow-tags --set-upstream origin main - git push --follow-tags --set-upstream origin master
- node package-version-updater/updateGitlabSide.js --cV $current_version --nV $next_version -p $CI_PROJECT_ID -t $access_token - node package-version-updater/updateGitlabSide.js --cV $current_version --nV $next_version -p $CI_PROJECT_ID -t $access_token
only: only:
- api - api
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment