Skip to content

Commit

Permalink
rm creation of new branch
Browse files Browse the repository at this point in the history
  • Loading branch information
rmch91 committed Mar 1, 2024
1 parent 08984d1 commit ca9c299
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/minor-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ jobs:
echo "Checking for existence of the branch: $release_branch"
if git ls-remote --heads origin "$release_branch" | grep -q "$release_branch"; then
echo "Error: Branch $release_branch already exists. Please check the branch before proceeding."
exit 1
fi
- name: Update SCSS Versioning
run: |
major=${{ env.major }}
Expand All @@ -75,6 +80,19 @@ jobs:
sed -i "s/export const PUBLISHING_VERSION = '.*';/export const PUBLISHING_VERSION = '$version';/" ./tools/config/const.ts
echo "Updated PUBLISHING_VERSION in ./tools/config/const.ts."
- name: Package installation
run: npm ci

- name: Run NPM Commands
run: |
if ! npm run config:update; then
echo "Error: The configuration file is not up to date. Regenerating dependencies..."
npm run generate:deps
npm run config:update
fi
npm run generate:deps
npm run test:all-schematics
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
Expand Down

0 comments on commit ca9c299

Please sign in to comment.