Skip to content

Commit

Permalink
feat: ⚡ test release (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
anantakumarghosh committed Jan 31, 2024
1 parent e42c566 commit 459e435
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,37 +16,37 @@ jobs:
- name: Checkout code
uses: actions/checkout@master

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '16'

- name: Install dependencies
run: npm install -g standard-version

- name: Generate release notes
id: release
run: |
export RELEASE_NOTES=$(standard-version --skip.bump --skip.tag --stdout)
echo "::set-output name=release_notes::$RELEASE_NOTES"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Display release notes
run: echo "${{ steps.release.outputs.release_notes }}"

- name: Create Release
id: create_release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${{ steps.release.outputs.release_notes }}
# body_path: ./CHANGELOG.md
draft: false
prerelease: false
# - name: Set up Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '16'

# - name: Install dependencies
# run: npm install -g standard-version

# - name: Generate release notes
# id: release
# run: |
# export RELEASE_NOTES=$(standard-version --skip.bump --skip.tag --stdout)
# echo "::set-output name=release_notes::$RELEASE_NOTES"
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Display release notes
# run: echo "${{ steps.release.outputs.release_notes }}"

# - name: Create Release
# id: create_release
# uses: actions/create-release@latest
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
# with:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ github.ref }}
# body: ${{ steps.release.outputs.release_notes }}
# # body_path: ./CHANGELOG.md
# draft: false
# prerelease: false

- name: Release Please
uses: google-github-actions/release-please-action@v4
Expand Down

0 comments on commit 459e435

Please sign in to comment.