-
Notifications
You must be signed in to change notification settings - Fork 532
42 lines (38 loc) · 1.17 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Create a release draft
on:
workflow_dispatch:
inputs:
tag:
required: true
jobs:
release:
runs-on: ubuntu-latest
permissions:
actions: none
checks: none
contents: write
deployments: none
id-token: none
issues: read
discussions: none
packages: none
pages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: Use Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 #v4.0.2
with:
node-version: 20.18.0
- name: npm i
run: npm i @octokit/rest
- name: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: "node buildSrc/releaseNotes --tag tutanota-release-${{ github.event.inputs.tag }}
--releaseName ${{ github.event.inputs.tag }}
--milestone ${{ github.event.inputs.tag }}
--platform all"