4343
4444if [ " $CI_PRERELEASE " = " true" ]
4545then
46- # git fetch --depth=1 origin "v$(npm view @wclr/purescript@next version)"
47-
48- # # List of files/folders to use to detect if a new prerelease should be
49- # # issued. Any path that could contain files that affect the built bundles or
50- # # the published npm package should be included here. Paths that no longer
51- # # exist should be deleted. A false positive is not as big a deal as a false
52- # # negative, so err on the side of including stuff.
53- # if git diff --quiet FETCH_HEAD HEAD -- \
54- # .github/workflows app bundle ci npm-package src \
55- # purescript.cabal stack.yaml
56- # then
57- # echo "Skipping prerelease because no input affecting the published package was"
58- # echo "changed since the last prerelease"
59- # echo "do-not-prerelease=true" >> $GITHUB_OUTPUT
60- # else
46+ git fetch --depth=1 origin " v$( npm view @wclr/purescript version) "
47+
48+ # List of files/folders to use to detect if a new prerelease should be
49+ # issued. Any path that could contain files that affect the built bundles or
50+ # the published npm package should be included here. Paths that no longer
51+ # exist should be deleted. A false positive is not as big a deal as a false
52+ # negative, so err on the side of including stuff.
53+ if git diff --quiet FETCH_HEAD HEAD -- \
54+ .github/workflows app bundle ci npm-package src \
55+ purescript.cabal stack.yaml
56+ then
57+ echo " Skipping prerelease because no input affecting the published package was"
58+ echo " changed since the last prerelease"
59+ echo " do-not-prerelease=true" >> $GITHUB_OUTPUT
60+ else
6161 do_prerelease=true
62- # fi
62+ fi
6363fi
6464
6565package_version=$( node -pe ' require("./npm-package/package.json").version' )
191191popd
192192
193193(echo " ::endgroup::" ) 2> /dev/null
194-
195- #
0 commit comments