Skip to content

Commit

Permalink
(v1.0.2) added new github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Rey Columna authored and Rey Columna committed Apr 26, 2024
1 parent 7d0434a commit 2b19b75
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 10 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: NPM Deploy

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'

- name: Install dependencies
run: npm install

- name: Publish to npm
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"name": "@reyco1/release-notes",
"version": "1.0.1",
"version": "1.0.2",
"description": "Generates formatted release notes from Git commit logs using OpenAI's API.",
"main": "index.js",
"private": false,
"type": "module",
"engines": {
"node": ">=18.0.0"
},
"bin": {
"release-notes": "./index.js"
},
Expand Down
2 changes: 1 addition & 1 deletion prompt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Steps to Format Git Commit Logs into Release Notes:

1. Input Preparation:
- User will provide all commit logs relevant for the release notes.
- Ensure each log entry follows the standard format: "(v[version number]) [Commit message]".
- Ensure each log entry follows the standard format: "[dateTime] (v[version number]) [Commit message]".

2. Summary Creation:
- Begin by summarizing the main achievements or features introduced in this batch of commits. Highlight any major enhancements, critical bug fixes, or significant performance improvements.
Expand Down
5 changes: 0 additions & 5 deletions release-notes.txt

This file was deleted.

2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"major": 1,
"minor": 0,
"patch": 1
"patch": 2
}

0 comments on commit 2b19b75

Please sign in to comment.