https://github.com/dilipkrish/gradle-releaser-non-java
https://github.com/dilipkrish/gradle-releaser-non-java
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dilipkrish/gradle-releaser-non-java
- Owner: dilipkrish
- Created: 2017-03-09T15:49:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-09T16:04:23.000Z (over 9 years ago)
- Last Synced: 2025-08-03T00:43:46.668Z (11 months ago)
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.adoc
Awesome Lists containing this project
README
= Getting started
For more detailed documentation http://the-container-store.github.io/Gradle-Releaser/[visit the plugin documenation].
== Using it for non-java projects
1. https://github.com/dilipkrish/gradle-releaser-non-java/blob/master/settings.gradle#L18[Rename the project] in the settings.gradle
2. Add the .version file with a version (currently uses maven convention) e.g. 0.9.1-SNAPSHOT
3. Tag the the repository with an annotated tag
[source,bash]
----
git tag -a 0.9.1 -m "Bootstrapping version"
----
4. Generate the property file for snapshot builds
[source,bash]
----
./gradlew generateBuildPropertyFile
----
4. Generate the property file in team city. Note that we bundled running sonar when we do release builds. The `-x sonarqube` skips running that task.
[source,bash]
----
./gradlew buildReleaseCandidate -x sonarqube
----
5. The build files will be generated with the right metadata in `build/build.properties` folder