--author tag is not working on git commit so use git config instead
This commit is contained in:
@@ -6,6 +6,12 @@ resource_types:
|
||||
tag: latest
|
||||
###################################################
|
||||
resources:
|
||||
- name: sts4-out
|
||||
type: git
|
||||
source:
|
||||
uri: git@github.com:spring-projects/sts4.git
|
||||
branch: {{branch}}
|
||||
private_key: {{rsa_id}}
|
||||
- name: sts4
|
||||
type: git
|
||||
source:
|
||||
@@ -94,7 +100,7 @@ jobs:
|
||||
file: sts4/concourse/tasks/bump-version.yml
|
||||
params:
|
||||
extension_id: vscode-manifest-yaml
|
||||
- put: sts4
|
||||
- put: sts4-out
|
||||
timeout: 5m
|
||||
params:
|
||||
repository: sts4-out
|
||||
|
||||
@@ -18,8 +18,10 @@ npm version patch
|
||||
new_version=`jq -r .version ${sources}/package.json`
|
||||
echo "new_version=${new_version}"
|
||||
|
||||
git config user.email "kdevolder@pivotal.io"
|
||||
git config user.name "Kris De Volder"
|
||||
|
||||
git commit \
|
||||
-m "Bump version of ${extension_id} to ${new_version}" \
|
||||
--author 'Kris De Volder <kdevolder@pivotal.io>'
|
||||
|
||||
git clone $workdir/sts4 $workdir/sts4-out
|
||||
|
||||
Reference in New Issue
Block a user