Skip to content

Commit 9c2435a

Browse files
committed
Update workflows
1 parent 4c6b412 commit 9c2435a

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ jobs:
189189
working-directory: plugins/maven/graphql-java-codegen-maven-plugin
190190
run: |
191191
mvn \
192-
--settings .maven.xml
192+
--settings .maven.xml \
193193
--no-transfer-progress \
194194
--batch-mode \
195195
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} \
@@ -212,4 +212,6 @@ jobs:
212212
#
213213

214214
- name: Push release version
215-
run: git push --tags
215+
run: |
216+
git push
217+
git push --tags

.github/workflows/update-version.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ jobs:
3333
git config --global user.name 'Bogdan Kobylynskyi'
3434
git config --global user.email '[email protected]'
3535
git commit -am "Bump version to ${{ github.event.inputs.new_version }}"
36+
git push
3637
git push --tags

plugins/maven/.maven.xml renamed to plugins/maven/graphql-java-codegen-maven-plugin/.maven.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
<settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xmlns="http://maven.apache.org/SETTINGS/1.0.0"
3-
xsi:schemalocation="http://maven.apache.org/SETTINGS/1.0.0
1+
<settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/SETTINGS/1.0.0"
2+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
43
http://maven.apache.org/xsd/settings-1.0.0.xsd">
54
<servers>
65
<!-- Maven Central deployment -->

0 commit comments

Comments
 (0)