Skip to content

Commit

Permalink
updated build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshmi-udaan committed Jan 28, 2022
1 parent 4b2f7aa commit aef040a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# This workflow will build a Java project with Maven
# This workflow will build a Java/Kotlin project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven
name: Build project

on:
push:
branches:
- add-ci-cd
# branches: [ main ]
# pull_request:
# branches: [ main ]
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion release-notes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Once you have decided on your version, follow the following steps to publish a r
- Add a `<version-name>.md` file under `release-notes` directory. This will be used as the content for GitHub release.
For ex: if your `pom.xml` looks like this: `<version>0.4.22-SNAPSHOT</version>`, your release file will should be named `v0.4.22.md`.<br><br>

- Do an empty commit from `main` branch with either of the commit messages:
- Do an empty commit from `main` branch with either of the commit messages(Make sure you have the permission):
Considering current pom version to be `0.4.22-SNAPSHOT`,
- `git commit --allow-empty -m "#release-with-patch"` would:
- Publish a maven release with version `0.4.22`
Expand Down

0 comments on commit aef040a

Please sign in to comment.