gradle-github-release-plugin

Additional

Language
Kotlin
Version
N/A
Created
Jan 9, 2022
Updated
Jan 12, 2022
Owner
사부작사부작 (sabujak-sabujak)
Contributor
Seokwon Jeong (sangcomz)
1
Activity
Badge
Generate
Download
Source code

Announcement


                     _ _                  _ _   _           _      
                    | | |                (_) | | |         | |     
  __ _ _ __ __ _  __| | | ___ ______ __ _ _| |_| |__  _   _| |__   
 / _` | '__/ _` |/ _` | |/ _ \______/ _` | | __| '_ \| | | | '_ \  
| (_| | | | (_| | (_| | |  __/     | (_| | | |_| | | | |_| | |_) | 
 \__, |_|  \__,_|\__,_|_|\___|      \__, |_|\__|_| |_|\__,_|_.__/  
  __/ |                              __/ |                         
 |___/                              |___/                          
          _                                  _             _       
         | |                                | |           (_)      
 _ __ ___| | ___  __ _ ___  ___ ______ _ __ | |_   _  __ _ _ _ __  
| '__/ _ \ |/ _ \/ _` / __|/ _ \______| '_ \| | | | |/ _` | | '_ \ 
| | |  __/ |  __/ (_| \__ \  __/      | |_) | | |_| | (_| | | | | |
|_|  \___|_|\___|\__,_|___/\___|      | .__/|_|\__,_|\__, |_|_| |_|
                                      | |             __/ |        
                                      |_|            |___/         

usage

Kotlin
Using the plugins DSL:
plugins {
  id("io.github.sabujak-sabujak") version "x.x.x"
}

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.sabujak-sabujak:gradle-github-release-plugin:x.x.x")
  }
}

apply(plugin = "io.github.sabujak-sabujak")
Groovy
Using the plugins DSL:
plugins {
  id "io.github.sabujak-sabujak" version "x.x.x"
}

Using legacy plugin application:
buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.sabujak-sabujak:gradle-github-release-plugin:x.x.x"
  }
}

apply plugin: "io.github.sabujak-sabujak"

Use Plugin

githubRelease {
    token = "your token"
    owner = "owner"
    repo = "repo nam"
    tagName = "x.x.x"
    targetCommitish = "branch name"
    name = "Release name"
    body = "Release body"
    prerelease = false
    discussionCategoryName = ""
    generateReleaseNotes = false
}