Skip to content

Commit

Permalink
Merge pull request #5 from Sefaria/release
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
BrendanGalloway authored May 15, 2024
2 parents 665a98c + 639424a commit 0e6bd29
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 45 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release

on:
push:
branches:
- main
workflow_dispatch: {}

jobs:
release:
name: Release Library
runs-on: ubuntu-latest
permissions:
contents: write # needed to write releases
if: |
(github.repository == 'sefaria/AppliedAI')
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: cycjimmy/semantic-release-action@v4
id: semantic
with:
semantic_version: 18.0.1
extra_plugins: |
[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31 changes: 31 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
tagFormat: v${version}
plugins:
- - "@semantic-release/commit-analyzer"
- "preset": "conventionalcommits"
"releaseRules":
- {"type": "static", "release": "patch"}
- {"type": "chore", "release": "patch"}
- {"type": "helm", "release": false}
- - "@semantic-release/release-notes-generator"
- "preset": "conventionalcommits"
"presetConfig":
"types":
- {"type": "feat", "section": "Features"}
- {"type": "fix", "section": "Bug Fixes"}
- {"type": "chore", "hidden": true}
- {"type": "docs", "hidden": true}
- {"type": "style", "hidden": true}
- {"type": "refactor", "hidden": true}
- {"type": "perf", "hidden": true}
- {"type": "test", "hidden": true}
- {"type": "static", "section": "Static Content"}
- {"type": "helm", "hidden": true}
- - "@semantic-release/github"
- "successComment": false
# - - "@semantic-release/exec"
# - "prepareCmd": "../build/app-prerelease.sh ${nextRelease.gitTag}"
# - - "@semantic-release/git"
# - assets:
# - ../.github/workflows/deploy.yaml
branches:
- name: "main"
45 changes: 0 additions & 45 deletions Dockerfile

This file was deleted.

File renamed without changes.

0 comments on commit 0e6bd29

Please sign in to comment.