Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
fahadpatel-nc authored Dec 21, 2024
2 parents eb27b80 + 8b58c7a commit f47203c
Show file tree
Hide file tree
Showing 54 changed files with 2,570 additions and 1,507 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/commit.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
paths:
- 'docs/**' # This will only trigger the workflow when files in docs directory change
permissions:
contents: write
jobs:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/update-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ jobs:
- name: Commit and Tag Release
run: |
git pull
echo "{ \"commit\": \"$COMMIT_HASH\", \"version\": \"$NEW_VERSION\" }" > app/commit.json
git add package.json pnpm-lock.yaml changelog.md app/commit.json
git add package.json pnpm-lock.yaml changelog.md
git commit -m "chore: release version ${{ steps.bump_version.outputs.new_version }}"
git tag "v${{ steps.bump_version.outputs.new_version }}"
git push
Expand Down
11 changes: 0 additions & 11 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,4 @@ if ! pnpm lint; then
exit 1
fi

# Update commit.json with the latest commit hash
echo "Updating commit.json with the latest commit hash..."
COMMIT_HASH=$(git rev-parse HEAD)
if [ $? -ne 0 ]; then
echo "❌ Failed to get commit hash. Ensure you are in a git repository."
exit 1
fi

echo "{ \"commit\": \"$COMMIT_HASH\" }" > app/commit.json
git add app/commit.json

echo "👍 All checks passed! Committing changes..."
Loading

0 comments on commit f47203c

Please sign in to comment.