Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: cleanup semantic release #131

Merged
merged 3 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
<!-- PRS-123: Short description of change -->

## Description
<!-- A longer description of the change -->

## Issue
- [ ] :clipboard: JIRA_TICKET_URL

## Screenshots
<!-- If relevant -->

## PR Readiness Checks
- [ ] Your PR title conforms to conventional commits `<type>: <jira-ticket-num><title>`, for example: `fix: PRSDM-123 issue with login` with a maximum of 100 characters
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Lint PR"
name: "Lint PR Title"

on:
pull_request:
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/release-please.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"branches": ["main", { "name": "develop", "prerelease": "rfv" }, "+([0-9])?(.{+([0-9]),x}).x"],
"plugins": [
["@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "refactor",
"release": "patch"
}
]
}
],
["@semantic-release/release-notes-generator",
{
"presetConfig": {
"types": [
{
"type": "refactor",
"section": "Refactors",
"hidden": false
}
]
}
}
],
["@semantic-release/exec",
{
"prepareCmd": "zip -r -qq presidium-js dist"
}
],
["@semantic-release/github",
{
"assets": [
{
"path": "presidium-js.zip",
"name":"${nextRelease.gitTag}.zip",
"label": "${nextRelease.gitTag}.zip"
}
]
}
]
]
}
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ make commitlint

### Usage

After installation you can use `git cz` and run through the options and it will build your commit message. For example:
After installation you can use `git cz` and run through the options, it will build your commit message. For example:

```
? Select the type of change that you're committing: refactor: A code change that neither fixes a bug nor adds a feature (formatting, performance improvement, etc)
Expand Down Expand Up @@ -90,10 +90,9 @@ This repository uses [Semantic Release](https://semantic-release.gitbook.io/sema

Upon merging into to the main or develop branch, Semantic Release tool will:
- Calculate the new release version based on the commits
- Generate the CHANGELOG file
- Update the VERSION file
- Create a git commit and a git tag for the release
- Create a Release on Github
- Create a Release with release notes from the commit messages
- Create and publish the container images

---

Expand All @@ -102,11 +101,11 @@ Upon merging into to the main or develop branch, Semantic Release tool will:
Please see this [Presidium Git Strategy Miro board](https://miro.com/app/board/uXjVPK0XxiU=/).

In summary:
- `main` -> production
- `main` production
- Only hotfixes or `develop` get merged into `main`
- `develop`
- Feature branches and bugfixes are branched from and merged into `develop`
- `feat: <TITLE>`
- Feature branches and bug fixes are branched from and merged into `develop`
- `feat/<TITLE>`
- If there is a feature in development it will be on a feature branch

---
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

61 changes: 0 additions & 61 deletions release.config.js

This file was deleted.