Skip to content

Github Action - Create Release and Deploy#312

Merged
jozefbakus merged 4 commits intodevelopfrom
feature/github-action-release-and-deploy
Jul 4, 2025
Merged

Github Action - Create Release and Deploy#312
jozefbakus merged 4 commits intodevelopfrom
feature/github-action-release-and-deploy

Conversation

@jozefbakus
Copy link
Collaborator

No description provided.

@github-actions
Copy link

github-actions bot commented Jul 2, 2025

JaCoCo code coverage report - Scala 2.11 & Spark 2

There is no coverage information present for the Files changed

Total Project Coverage 75.01% 🍏

@github-actions
Copy link

github-actions bot commented Jul 2, 2025

JaCoCo code coverage report - Scala 2.12 & Spark 2

There is no coverage information present for the Files changed

Total Project Coverage 74.18% 🍏

@github-actions
Copy link

github-actions bot commented Jul 2, 2025

JaCoCo code coverage report - Scala 2.12 & Spark 3

There is no coverage information present for the Files changed

Total Project Coverage 72.85% 🍏

@jozefbakus jozefbakus marked this pull request as ready for review July 3, 2025 08:07
on:
workflow_dispatch:
inputs:
tag-name:
Copy link
Collaborator

Choose a reason for hiding this comment

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

You probably don't need that. You can just select the tag from the dropdown
image

Then you don't need to validate the input

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

description: "Define the release version (e.g., v4.7.0)"
required: true
default: ""
development-version:
Copy link
Collaborator

Choose a reason for hiding this comment

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

You can use this to determine the next development version from the release version.

          # Assumes semantic versioning and increments the minor version. Adjust the awk command as needed for different versioning schemes.
          NEXT_VERSION=$(echo ${VERSION} | awk -F. '{print $1"."$2+1".0-SNAPSHOT"}')

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I like current version, you set what is the release version and what is the development version. Above assumes that we always increment the same digit all the time. But I will remove comment because that is incorrect

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not going to argue about such a thing, but in that case you need to make sure that the development version will end with -SNAPSHOT

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It appends it there
NEXT_VERSION=$(echo ${DEVELOPMENT_VERSION_WITHOUT_V} | awk -F. '{print $1"."$2"."$3"-SNAPSHOT"}')

}
tag-name: ${{ github.event.inputs.tag-name }}

- name: Define semantic version number
Copy link
Collaborator

Choose a reason for hiding this comment

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

Isn't this step unneeded?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed

@jozefbakus jozefbakus merged commit c34149a into develop Jul 4, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants