Skip to content

Commit 5ce2629

Browse files
authored
Improve Docs
1 parent decee29 commit 5ce2629

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -27,31 +27,31 @@ The SNAPSHOT and Release workflows uses JFrog CLI to publish artifacts into Arti
2727

2828
## Build SNAPSHOT and Pull Request Workflows
2929

30-
The `[spring-gradle-pull-request-build.yml](.github%2Fworkflows%2Fspring-gradle-pull-request-build.yml)` and `[spring-maven-pull-request-build.yml](.github%2Fworkflows%2Fspring-maven-pull-request-build.yml)` are straight forward, single job reusable workflows.
30+
The [spring-gradle-pull-request-build.yml](.github/workflows/spring-gradle-pull-request-build.yml) and [spring-maven-pull-request-build.yml](.github/workflows/spring-maven-pull-request-build.yml) are straight forward, single job reusable workflows.
3131
They perform Gradle `check` task and Maven `verify` goal, respectively.
3232
The caller workflow is as simple as follows.
3333

34-
Gradle Pull Request caller workflow:
35-
./samples/pr-build-gradle.yml
34+
#### Gradle Pull Request caller workflow:
35+
https://github.com/artembilan/spring-messaging-build-tools/blob/decee2963c926c34f1f52bf373a3bc1dc09f1724/samples/pr-build-gradle.yml#L1-L10
3636

37-
Maven Pull Request caller workflow:
38-
./samples/pr-build-maven.yml
37+
#### Maven Pull Request caller workflow:
38+
https://github.com/artembilan/spring-messaging-build-tools/blob/decee2963c926c34f1f52bf373a3bc1dc09f1724/samples/pr-build-maven.yml#L1-L10
3939

4040
You can add more branches to react for pull request events.
4141

42-
The SNAPSHOT workflows (`[spring-artifactory-gradle-snapshot.yml](.github%2Fworkflows%2Fspring-artifactory-gradle-snapshot.yml)` and `[spring-artifactory-maven-snapshot.yml](.github%2Fworkflows%2Fspring-artifactory-maven-snapshot.yml)`, respectively) are also that simple.
42+
The SNAPSHOT workflows ([spring-artifactory-gradle-snapshot.yml](.github/workflows/spring-artifactory-gradle-snapshot.yml) and [spring-artifactory-maven-snapshot.yml](.github/workflows/spring-artifactory-maven-snapshot.yml), respectively) are also that simple.
4343
They use JFrog CLI action to be able to publish artifacts into `libs-snapshot-local` repository.
4444
The Gradle workflow can be supplied with Gradle Enterprise secrets.
4545

46-
Gradle SNAPSHOT caller workflow:
47-
./samples/ci-snapshot-gradle.yml
46+
#### Gradle SNAPSHOT caller workflow:
47+
https://github.com/artembilan/spring-messaging-build-tools/blob/decee2963c926c34f1f52bf373a3bc1dc09f1724/samples/ci-snapshot-gradle.yml#L1-L18
4848

49-
Maven SNAPSHOT caller workflow:
50-
./samples/ci-snapshot-maven.yml
49+
#### Maven SNAPSHOT caller workflow:
50+
https://github.com/artembilan/spring-messaging-build-tools/blob/decee2963c926c34f1f52bf373a3bc1dc09f1724/samples/ci-snapshot-maven.yml#L1-L13
5151

5252
## Release Workflow
5353

54-
The `[spring-artifactory-release.yml](.github%2Fworkflows%2Fspring-artifactory-release.yml)` workflow is complex enough, has some branching jobs and makes some assumptions and expects particular conditions on your repository:
54+
The [spring-artifactory-release.yml](.github/workflows/spring-artifactory-release.yml) workflow is complex enough, has some branching jobs and makes some assumptions and expects particular conditions on your repository:
5555

5656
- The versioning schema must follow these rules: 3-digit-dotted number for `major`, `minor` and `patch` parts, snapshot is suffixed with `-SNAPSHOT`, milestones are with `-M{number}` and `-RC{number}` suffix, the GA release is without any suffix.
5757
For example: `0.0.1-SNAPSHOT`, `1.0.0-M1`, `2.1.0-RC2`, `3.3.3`.
@@ -73,8 +73,8 @@ This job stages released artifacts using JFrog CLI into `libs-staging-local` rep
7373
The `gh release create` command is performed on a tag for just released version.
7474
And in the end the milestone is closed and specific Slack channel is notified about release.
7575

76-
Example of Release caller workflow:
77-
./samples/release.yml
76+
#### Example of Release caller workflow:
77+
https://github.com/artembilan/spring-messaging-build-tools/blob/decee2963c926c34f1f52bf373a3bc1dc09f1724/samples/release.yml#L1-L25
7878

7979
Such a workflow must be on every branch which is supposed to be released via GitHub actions.
8080

@@ -95,5 +95,5 @@ Verify staged workflow sample:
9595
## Gradle and Artifactory
9696

9797
Gradle projects must not manage `com.jfrog.artifactory` plugin anymore: the `jf gradlec` command sets up this plugin and respective tasks into a project using JFrog specific Gradle init script.
98-
In addition, the `[spring-artifactory-gradle-snapshot.yml](.github%2Fworkflows%2Fspring-artifactory-gradle-snapshot.yml)` and `[spring-artifactory-gradle-release-staging.yml](.github%2Fworkflows%2Fspring-artifactory-gradle-release-staging.yml)` add `spring-project-init.gradle` script to provide an `artifactory` plugin settings for artifacts publications.
98+
In addition, the [spring-artifactory-gradle-snapshot.yml](.github/workflows/spring-artifactory-gradle-snapshot.yml) and [spring-artifactory-gradle-release-staging.yml](.github/workflows/spring-artifactory-gradle-release-staging.yml) add `spring-project-init.gradle` script to provide an `artifactory` plugin settings for artifacts publications.
9999
This script also adds a `nextDevelopmentVersion` task which is used when release has been staged and job is ready to push `Next development version` commit.

0 commit comments

Comments
 (0)