Skip to content

Commit 36ddd69

Browse files
committed
fetch and reset master when running the bump
1 parent 34667e1 commit 36ddd69

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ predeploy:
6060
- git remote set-url origin https://faiqus:${CI_PUSH_TOKEN}@gitlab-odx.oracledx.com/cloudnative/oci-grafana-plugin.git
6161
- git config --global user.email "deploy@oracle.com"
6262
- git config --global user.name "deployboy"
63+
- git fetch
64+
- git checkout master
65+
- git reset --hard origin/master
6366
- npm install
6467
- npm run bump
6568
- cat plugin.json | grep version | cut -d':' -f2 | xargs | cut -d, -f1 >> ./dist/VERSION

0 commit comments

Comments
 (0)