Skip to content

Commit

Permalink
test new generete release
Browse files Browse the repository at this point in the history
  • Loading branch information
Mantu committed Dec 31, 2024
1 parent 99dcd7e commit a84e19b
Showing 1 changed file with 24 additions and 9 deletions.
33 changes: 24 additions & 9 deletions .github/workflows/RELEASE_AND_PUBLISH_NPM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

jobs:
build:
name: Bump Version, Build, and Publish
name: Bump Version, Build, and Publish to NPM
runs-on: ubuntu-latest

steps:
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 21
cache: "npm"

- name: Install dependencies
Expand Down Expand Up @@ -74,14 +74,29 @@ jobs:
VERSION=$(jq -r '.version' package.json)
echo "PACKAGE_VERSION=${VERSION}" >> $GITHUB_ENV
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Create Release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ env.PACKAGE_VERSION }}
# release_name: "Release v${{ env.PACKAGE_VERSION }}"
# body: |
# New release of **expo-check-installed-apps** is available.
# - Version: v${{ env.PACKAGE_VERSION }}
# - [Changelog](https://github.com/EndLess728/expo-check-installed-apps/releases)

- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.PACKAGE_VERSION }}
release_name: "Release v${{ env.PACKAGE_VERSION }}"
# files: android/app/build/outputs/apk/release/app-release.apk # The path to the APK file to upload.
tag_name: "${{ env.PACKAGE_VERSION }}" # Tag the release with the generated version.
name: "Release v${{ env.PACKAGE_VERSION }}" # Name the release with the version.
generate_release_notes: true # Do not regenerate release notes (they're provided by the changelog).
draft: false # The release will not be a draft.
prerelease: false # The release will not be a pre-release.
body: |
New release of **expo-check-installed-apps** is available.
- Version: v${{ env.PACKAGE_VERSION }}
- [Changelog](https://github.com/EndLess728/expo-check-installed-apps/releases)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a84e19b

Please sign in to comment.