Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Move release to GH actions #38

Merged
merged 2 commits into from
Nov 11, 2020
Merged

Move release to GH actions #38

merged 2 commits into from
Nov 11, 2020

Conversation

mkuznyetsov
Copy link
Contributor

Signed-off-by: Mykhailo Kuznietsov mkuznets@redhat.com

What does this PR do?

  • remove pom.xml, move version to package.json
  • add release.yaml containing GH workflow for the release

What issues does this PR fix or reference?

eclipse-che/che#17857

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
@@ -0,0 +1,126 @@
#!/bin/bash
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add copyright headers

make-release.sh Outdated
# bump the z digit
[[ $VERSION =~ ^([0-9]+)\.([0-9]+)\.([0-9]+) ]] && BASE="${BASH_REMATCH[1]}.${BASH_REMATCH[2]}"; NEXT="${BASH_REMATCH[3]}"; (( NEXT=NEXT+1 )) # for VERSION=7.7.1, get BASE=7.7, NEXT=2
NEXT_VERSION_Z="${BASE}.${NEXT}-SNAPSHOT"
bump_version ${NEXT_VERSION_Z} ${BRANCH}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

it doesn't pass shellcheck.net

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
@mkuznyetsov mkuznyetsov merged commit aff5b38 into master Nov 11, 2020
@mkuznyetsov mkuznyetsov deleted the ci-gh branch November 11, 2020 13:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants