Skip to content

Commit 21c29d3

Browse files
committed
[CI] Knocking kinks out of release process
1 parent 76c0a81 commit 21c29d3

File tree

2 files changed

+5
-71
lines changed

2 files changed

+5
-71
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,6 @@ jobs:
3838
uses: gradle/gradle-build-action@v2
3939
env:
4040
GRADLE_USER_HOME: ~/.gradle
41-
- name: Run Gradle build
42-
run: |
43-
./gradlew clean build --continue -PartifactoryUsername="$ARTIFACTORY_USERNAME" -PartifactoryPassword="$ARTIFACTORY_PASSWORD"
44-
- name: Capture Test Results
45-
if: failure()
46-
uses: actions/upload-artifact@v3
47-
with:
48-
name: test-results
49-
path: '*/build/reports/tests/**/*.*'
50-
retention-days: 3
51-
- name: Deploy artifacts
52-
run: |
53-
./gradlew publishArtifact -PartifactoryUsername="$ARTIFACTORY_USERNAME" -PartifactoryPassword="$ARTIFACTORY_PASSWORD" -PossrhUsername="$OSSRH_TOKEN_USERNAME" -PossrhPassword="$OSSRH_TOKEN_PASSWORD" --stacktrace
5441
- id: extract_version
5542
name: Extract current version
5643
run: |
@@ -115,17 +102,17 @@ jobs:
115102
- name: Tag Release
116103
if: ${{ contains(needs.build_and_deploy.outputs.project_version, '-SNAPSHOT') || contains(needs.build_and_deploy.outputs.project_version, '-RC') || contains(needs.build_and_deploy.outputs.project_version, '-M') }}
117104
run: |
118-
echo "Tagging $REPO@$VERSION release."
119-
git tag $VERSION
105+
echo "Tagging $REPO/$VERSION release."
106+
git tag v$VERSION
120107
git push --tags origin
121108
- name: Create Branch and Tag Release
122109
if: ${{ !contains(needs.build_and_deploy.outputs.project_version, '-RC') && !contains(needs.build_and_deploy.outputs.project_version, '-M') }}
123110
run: |
124-
echo "Tagging $REPO@$VERSION and creating release branch."
111+
echo "Tagging $REPO/$VERSION and creating release branch."
125112
git checkout -b $VERSION
126-
git commit -am "[Release $VERSION] create release branch"
113+
# git commit -am "[Release $VERSION] create release branch"
127114
git push origin $VERSION
128-
git tag $VERSION
115+
git tag v$VERSION
129116
git push --tags origin
130117
- name: Install Tooling
131118
run: |

.github/workflows/github-release.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)