Skip to content

Commit 8b7a854

Browse files
committed
add working release action and upload changelog.md
1 parent 1c89abb commit 8b7a854

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,13 @@ jobs:
100100
name: drop
101101
path: drop
102102
- name: Github Release
103-
uses: elgohr/Github-Release-Action@v3.1
103+
uses: anton-yurchenko/git-release@v4.1
104104
env:
105-
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
105+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
106+
DRAFT_RELEASE: "false"
107+
PRE_RELEASE: "false"
108+
CHANGELOG_FILE: "CHANGELOG.md"
109+
ALLOW_EMPTY_CHANGELOG: "true"
106110
with:
107-
args: MS-Graph-SDK-Java-Core Release
108-
111+
args: |
112+
current/working/directory/drop/**

CHANGELOG.MD

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
##[Unreleased]
9+
###Added
10+
###Changed
11+
##[x.x.x] - 2021-09-14

0 commit comments

Comments
 (0)