Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from SocialGouv/debug-release
Browse files Browse the repository at this point in the history
  • Loading branch information
carolineBda authored Dec 16, 2021
2 parents 364bc73 + cad1334 commit 0aa0753
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,8 @@ jobs:
@semantic-release/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}

# - name: Push updates to branch for major version
# if: steps.semantic.outputs.new_release_published == 'true'
# run: |
# # git push -f https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v${{steps.semantic.outputs.new_release_major_version}}
# git push -f https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git :refs/tags/v${{steps.semantic.outputs.new_release_major_version}}
# git tag -f v${{steps.semantic.outputs.new_release_major_version}}
# git push -f https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git v${{steps.semantic.outputs.new_release_major_version}}
# env:
# GITHUB_TOKEN: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}
GIT_AUTHOR_EMAIL: ${{ secrets.SOCIALGROOVYBOT_EMAIL }}
GIT_AUTHOR_NAME: ${{ secrets.SOCIALGROOVYBOT_NAME }}
GIT_COMMITTER_EMAIL: ${{ secrets.SOCIALGROOVYBOT_EMAIL }}
GIT_COMMITTER_NAME: ${{ secrets.SOCIALGROOVYBOT_NAME }}
DEBUG: "semantic-release:*"
8 changes: 8 additions & 0 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ plugins:
- package.json
message: "chore(release): version ${nextRelease.version}\n\n${nextRelease.notes}"
- "@semantic-release/github"
branches:
- +([0-9])?(.{+([0-9]),x}).x
- main
- next
- name: beta
prerelease: true
- name: alpha
prerelease: true

0 comments on commit 0aa0753

Please sign in to comment.