Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

gitRelease

gitRelease ist ein .net Consolen Program, welches verwendet werden kann um in Verschiedenen CI Systemen Releases zu erstellen oder zu bearbeiten. Aktuell wird GitHub und Gitea als Api Entpunkt unterstützt.

GitHub Action

gitRelease kann auch als GitHub Action verwendet werden, um Releases direkt in deinen Workflows zu verwalten.

Verwendung

- name: Create Release
  uses: CraftingITde/gitRelease@master
  with:
    command: 'github create'
    token: ${{ secrets.GITHUB_TOKEN }}
    tag: 'v1.0.0'
    name: 'Release v1.0.0'
    body: 'Release description'
    prerelease: false
    draft: false

Verfügbare Inputs

  • command: Der auszuführende Befehl (z.B. github create, github update, github upload, version next)
  • token: GitHub Token für die Authentifizierung (meist secrets.GITHUB_TOKEN)
  • owner: Repository Owner (optional, Standard: aktueller Owner)
  • repo: Repository Name (optional, Standard: aktuelles Repository)
  • tag: Tag-Name für das Release
  • name: Release-Name
  • body: Release-Beschreibung
  • prerelease: Als Prerelease markieren (true/false)
  • draft: Als Draft markieren (true/false)
  • file: Datei-Pfad für Asset-Upload
  • label: Label für das Asset
  • server: Server-URL für Gitea (Pflicht) oder Github Enterprise (optional) z.b. git.yourdomain.com oder yourname.ghe.com

Usage

Github

bash-3.2$ gitrelease github
gitRelease 0.1.0
Copyright (C) 2020 gitRelease

  create          Creates a new Release

  update          Updates a present Release

  upload          Upload an asset

  updateBody      Updates a present Release

  isDraft         is the release a draft?

  isPrerelease    is the release a Prerelease?

  help            Display more information on a specific command.

  version         Display version information.

Gitea

bash-3.2$ gitrelease gitea
gitRelease 0.1.0
Copyright (C) 2020 gitRelease

  update          updating a Tag

  upload          Upload an asset

  isDraft         is the release a draft?

  isPrerelease    is the release a Prerelease?

  help            Display more information on a specific command.

  version         Display version information.

Version

bash-3.2$ gitrelease version
gitRelease 0.1.0
Copyright (C) 2020 gitRelease

  next            Gets the next available semantic version number.

  generate        Generates a new tag and version branch if necessary.

  help            Display more information on a specific command.

  version         Display version information.

  generate-notes  Generate release notes content for a release

CLI Download

Latest Releases for windows, linux and MacOS here

Docker

  docker pull craftingit/gitrelease:latest

Nuget

  dotnet tool install --global gitRelease 

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages