-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from issue-ops/ncalteen
Cleanup
- Loading branch information
Showing
10 changed files
with
40 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dist/** -diff linguist-generated=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ on: | |
branches: | ||
- main | ||
|
||
# This is required to be able to update tags and create releases | ||
permissions: | ||
contents: write | ||
|
||
|
@@ -16,18 +15,17 @@ jobs: | |
name: Release Version | ||
runs-on: ubuntu-latest | ||
|
||
# Only run this job if the PR was merged | ||
if: ${{ github.event.pull_request.merged == true }} | ||
if: | | ||
github.event.pull_request.merged == true && | ||
startsWith(github.head_ref, 'dependabot/') == false | ||
steps: | ||
# Checkout the repository with fetch-tags set to true | ||
- name: Checkout | ||
id: checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-tags: true | ||
|
||
# Get the version and update the tags to use in the release | ||
- name: Tag | ||
id: tag | ||
uses: issue-ops/[email protected] | ||
|
@@ -36,8 +34,6 @@ jobs: | |
workspace: ${{ github.workspace }} | ||
ref: main | ||
|
||
# Use the version output from the previous step for the release | ||
# Prepend a 'v' to the beginning (e.g. 'v1.2.3') | ||
- name: Create Release | ||
id: release | ||
uses: issue-ops/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
20.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "releaser", | ||
"description": "Handle releases for GitHub repositories", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"author": "Nick Alteen <[email protected]>", | ||
"homepage": "https://github.com/issue-ops/releaser#readme", | ||
"repository": { | ||
|
@@ -25,13 +25,14 @@ | |
"scripts": { | ||
"bundle": "npm run format:write && npm run package", | ||
"ci-test": "jest", | ||
"coverage": "make-coverage-badge --output-path ./badges/coverage.svg", | ||
"format:write": "prettier --write '**/*.ts'", | ||
"format:check": "prettier --check '**/*.ts'", | ||
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml", | ||
"package": "ncc build src/index.ts -o dist --source-map --license licenses.txt", | ||
"package:watch": "npm run package -- --watch", | ||
"test": "(jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg", | ||
"all": "npm run format:write && npm run lint && npm run test && npm run package" | ||
"test": "jest", | ||
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package" | ||
}, | ||
"license": "MIT", | ||
"jest": { | ||
|