Skip to content

chore(release): 0.10.0-rc.7 #117

chore(release): 0.10.0-rc.7

chore(release): 0.10.0-rc.7 #117

Workflow file for this run

name: Release
on:
push:
branches: [develop, main]
jobs:
release:
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT }}
persist-credentials: false
fetch-depth: 0 # required so semantic-release and our scripts can access tags and history
- uses: cycjimmy/semantic-release-action@v4
with:
extra_plugins: |
@semantic-release/commit-analyzer
@semantic-release/release-notes-generator
@semantic-release/changelog
@semantic-release/exec
@semantic-release/git
@semantic-release/github
conventional-changelog-conventionalcommits
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
GIT_AUTHOR_NAME: "Felix T.J. Dietrich"
GIT_AUTHOR_EMAIL: "felixtj.dietrich@tum.de"
GIT_COMMITTER_NAME: "Felix T.J. Dietrich"
GIT_COMMITTER_EMAIL: "felixtj.dietrich@tum.de"
- name: Fast-forward develop from main release
if: ${{ github.ref == 'refs/heads/main' }}
env:
GH_PAT: ${{ secrets.GH_PAT }}
run: |
git remote set-url origin https://x-access-token:${GH_PAT}@github.com/ls1intum/Hephaestus.git
git push origin main:develop