Skip to content

Commit 327ebb4

Browse files
authored
Restore TailwindCSS auto-update workflow
1 parent 95d28da commit 327ebb4

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/tailwindcss-auto-update.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ jobs:
7373
MAJOR=${VERSION_PARTS[0]}
7474
MINOR=${VERSION_PARTS[1]}
7575
PATCH=${VERSION_PARTS[2]}
76-
NEW_PATCH=$((PATCH + 1))
76+
# NEW_PATCH=$((PATCH + 1))
77+
NEW_PATCH=$((PATCH))
7778
NEW_LIB_VERSION="$MAJOR.$MINOR.$NEW_PATCH"
7879
7980
echo "New library version: $NEW_LIB_VERSION"
@@ -118,16 +119,6 @@ jobs:
118119
--output ./artifacts \
119120
/p:Version=${{ env.NEW_VERSION }}
120121
121-
- name: Commit changes
122-
if: env.UPDATE_NEEDED == 'true'
123-
run: |
124-
git config --local user.email "github-actions[bot]@users.noreply.github.com"
125-
git config --local user.name "github-actions[bot]"
126-
git add ./DotnetDevKR.TailwindCSS/DotnetDevKR.TailwindCSS.csproj
127-
git add ./DotnetDevKR.TailwindCSS/runtime/install.sh
128-
git commit -m "chore: Update TailwindCSS to ${{ env.TAILWINDCSS_VERSION }} and bump version to ${{ env.NEW_VERSION }}"
129-
git tag "v${{ env.NEW_LIB_VERSION }}"
130-
131122
- name: Push changes and tags
132123
if: env.UPDATE_NEEDED == 'true'
133124
run: |
@@ -174,3 +165,4 @@ jobs:
174165
prerelease: false
175166
env:
176167
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
168+

0 commit comments

Comments
 (0)