Skip to content

Commit 44762fb

Browse files
committed
update branch name
1 parent 4e970c2 commit 44762fb

File tree

2 files changed

+19
-22
lines changed

2 files changed

+19
-22
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: "CI"
22

33
on:
44
push:
5-
branches: [ "wclr-release-test" ]
5+
branches: [ "wclr/release" ]
66
pull_request:
7-
branches: [ "wclr-release-test" ]
7+
branches: [ "wclr/release" ]
88
paths:
99
- .github/workflows/**/*.yml
1010
- app/**/*
@@ -31,8 +31,7 @@ defaults:
3131
shell: "bash"
3232

3333
env:
34-
# CI_PRERELEASE: "${{ github.event_name == 'push' && github.ref == 'refs/heads/wclr-release-test' }}"
35-
CI_PRERELEASE: "true"
34+
CI_PRERELEASE: "${{ github.event_name == 'push' && github.ref == 'refs/heads/wclr/release' }}"
3635
CI_RELEASE: "${{ github.event_name == 'release' }}"
3736
STACK_VERSION: "3.3.1"
3837

ci/build.sh

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,23 @@ fi
4343

4444
if [ "$CI_PRERELEASE" = "true" ]
4545
then
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
6363
fi
6464

6565
package_version=$(node -pe 'require("./npm-package/package.json").version')
@@ -191,5 +191,3 @@ fi
191191
popd
192192

193193
(echo "::endgroup::") 2>/dev/null
194-
195-
#

0 commit comments

Comments
 (0)