File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,13 +38,12 @@ jobs:
3838 - name : Bump version & generate changelog
3939 id : bump
4040 run : |
41- # Exécute standard-version et capture sa sortie
4241 OUTPUT=$(npx standard-version --release-as auto || true)
4342 echo "$OUTPUT"
4443
45- # Vérifie si une version a été bumpée
4644 if echo "$OUTPUT" | grep -q "to null"; then
4745 echo "No new release detected (no feat/fix commits)."
46+ git restore package.json
4847 echo "should_publish=false" >> $GITHUB_OUTPUT
4948 else
5049 echo "should_publish=true" >> $GITHUB_OUTPUT
5958 exit 0
6059
6160 - name : Push changes & tags
62- run : |
63- git push --follow-tags origin main
61+ run : git push --follow-tags origin main
6462
6563 - name : Build project
6664 run : bun run build
Original file line number Diff line number Diff line change 11{
22 "name" : " @tracktor/react-google-tag-manager" ,
33 "description" : " React library for use easily the Google Tag Manager" ,
4- "version" : null ,
4+ "version" : " 1.3.1 " ,
55 "private" : false ,
66 "license" : " ISC" ,
77 "type" : " module" ,
You can’t perform that action at this time.
0 commit comments