Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaSeylani committed Oct 21, 2024
1 parent 8b35d5e commit e72d458
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 35 deletions.
31 changes: 3 additions & 28 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ jobs:
echo "major-branch=release-major-v${{ steps.nexttag.outputs.major }}" >> $GITHUB_OUTPUT
echo "minor-branch=release-minor-v${{ steps.nexttag.outputs.minor }}" >> $GITHUB_OUTPUT
echo "patch-branch=release-patch-v${{ steps.nexttag.outputs.patch }}" >> $GITHUB_OUTPUT
create-release-branch:
name: Create Release Branch
create-change-file:
name: Generate Change File
runs-on: ubuntu-latest
needs: determine-next-versions

Expand All @@ -78,32 +79,6 @@ jobs:
git checkout -b ${{ needs.determine-next-versions.outputs.branch-patch }}
git push origin ${{ needs.determine-next-versions.outputs.branch-patch }}
create-change-file:
name: Generate Change File
runs-on: ubuntu-latest
needs: create-release-branch

steps:
- name: Wait for 10 seconds
run: sleep 10
- name: Check out code - major release
if: ${{ github.event.inputs.release-type == 'major' }}
uses: actions/checkout@v3
with:
ref: ${{ needs.determine-next-versions.outputs.branch-major }}

- name: Check out code - minor release
if: ${{ github.event.inputs.release-type == 'minor' }}
uses: actions/checkout@v3
with:
ref: ${{ needs.determine-next-versions.outputs.branch-minor }}

- name: Check out code - patch release
if: ${{ github.event.inputs.release-type == 'patch' }}
uses: actions/checkout@v3
with:
ref: ${{ needs.determine-next-versions.outputs.branch-patch }}

- name: Verify Current Branch
run: git branch --show-current

Expand Down

This file was deleted.

0 comments on commit e72d458

Please sign in to comment.