Skip to content

fix: git bot user to push changes #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
cea568b
fix: add debug statement
wphyojpl Sep 21, 2023
a4a5ca4
Merge branch 'develop-temp' of github.com:unity-sds/unity-data-servic…
wphyojpl Sep 21, 2023
8d1c193
fix: still finding out how to pass env
wphyojpl Sep 21, 2023
2e00f44
fix: cannot use >> in yaml
wphyojpl Sep 21, 2023
9e42d89
fix: add store version shell script in yml
wphyojpl Sep 21, 2023
6849722
chore: merge from develop
wphyojpl Sep 21, 2023
341aae0
Merge branch 'develop-temp' of github.com:unity-sds/unity-data-servic…
wphyojpl Sep 21, 2023
cfef16c
fix: yaml format error
wphyojpl Sep 21, 2023
1be6e54
Merge branch 'develop-temp' of github.com:unity-sds/unity-data-servic…
wphyojpl Sep 21, 2023
303687f
fix: yaml error again
wphyojpl Sep 21, 2023
a9fa932
Merge branch 'develop-temp' of github.com:unity-sds/unity-data-servic…
wphyojpl Sep 21, 2023
185a549
fix: yaml err ???
wphyojpl Sep 21, 2023
0c82392
should not build now. only during merge
wphyojpl Sep 21, 2023
77cc787
fix: so puzzling
wphyojpl Sep 21, 2023
3e7f3be
fix: removing comments to see if that is the cause
wphyojpl Sep 21, 2023
a5f2b0e
fix: re-adding commented files
wphyojpl Sep 21, 2023
cd63cd0
Merge branch 'develop-temp' of github.com:unity-sds/unity-data-servic…
wphyojpl Sep 21, 2023
2c5c8e7
fix: env bug now
wphyojpl Sep 21, 2023
8155c84
Merge branch 'develop-temp' of github.com:unity-sds/unity-data-servic…
wphyojpl Sep 21, 2023
1d5e266
fix: script to merge the version update
wphyojpl Sep 21, 2023
3649ac2
Merge branch 'develop-temp' of github.com:unity-sds/unity-data-servic…
wphyojpl Sep 21, 2023
ee54fa3
fix: add git bot username to avoid password
wphyojpl Sep 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ci.cd/update_setup_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
major1, minor1, patch1 = 1, 0, 0
change_log_line = '### Added'
elif pr_title.startswith('feat'):
major1, minor1, patch1 = 1, 1, 0
major1, minor1, patch1 = 0, 1, 0
change_log_line = '### Changed'
elif pr_title.startswith('fix') or pr_title.startswith('chore'): # TODO chore is bumping up version?
major1, minor1, patch1 = 1, 0, 1
major1, minor1, patch1 = 0, 0, 1
change_log_line = '### Fixed'
else:
raise RuntimeError(f'invalid PR Title: {pr_title}')
Expand Down
2 changes: 2 additions & 0 deletions ci.cd/update_version_commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ git status
git diff
current_branch=`git branch --show-current`
git add -u
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m 'chore: update version + change log'
git push origin $current_branch