We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa0075f commit c7d9af5Copy full SHA for c7d9af5
.github/workflows/release.yml
@@ -144,7 +144,7 @@ jobs:
144
name: Build and release Tailwind CSS
145
146
permissions:
147
- contents: read
+ contents: write # for softprops/action-gh-release to create GitHub release
148
# https://docs.npmjs.com/generating-provenance-statements#publishing-packages-with-provenance-via-github-actions
149
id-token: write
150
@@ -153,6 +153,13 @@ jobs:
153
154
steps:
155
- uses: actions/checkout@v4
156
+ - run: git fetch --tags -f
157
+
158
+ - name: Resolve version
159
+ id: vars
160
+ run: |
161
+ echo "TAG_NAME=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
162
163
- uses: pnpm/action-setup@v4
164
165
- name: Use Node.js ${{ env.NODE_VERSION }}
0 commit comments