Update Release Process #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Draft Release | |
on: | |
push: | |
branches: [latest] | |
pull_request: # required for autolabeler | |
branches: [latest] | |
types: [opened, reopened, synchronize, ready_for_review, review_requested] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Create Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Get current date | |
id: date | |
run: echo "::set-output name=date::$(date +'%Y-%m-%d')" | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | |
with: | |
tag_name: ${{ steps.date.outputs.date }} | |
release_name: ${{ steps.date.outputs.date }} | |
body: | | |
Homebridge Apt Package Manifest | |
| Package | Version | | |
|:-------:|:-------:| | |
|NodeJS| v*.*.* | | |
|Homebridge-Config-UI-X| *.*.* | | |
|Homebridge| *.*.* | | |
draft: true | |
prerelease: false |