Skip to content

Commit

Permalink
Merge pull request #12 from infraspecdev/release-config
Browse files Browse the repository at this point in the history
feat: add release config
  • Loading branch information
rajat-tomar authored Jan 23, 2023
2 parents 93985fd + 97b7271 commit fb7bc66
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 82 deletions.
82 changes: 0 additions & 82 deletions .github/workflows/pre-commit-yaml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: 'Release'

on:
push:
branches:
- main

defaults:
run:
shell: bash

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0

- name: Release
uses: cycjimmy/semantic-release-action@v2
with:
semantic_version: 18.0.0
extra_plugins: |
@semantic-release/changelog@6.0.0
@semantic-release/git@10.0.0
conventional-changelog-conventionalcommits@4.6.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13 changes: 13 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"branches": [
"main"
],
"debug": false,
"ci": true,
"dryRun": false,
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github"
]
}

0 comments on commit fb7bc66

Please sign in to comment.