File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 4
4
;
5
5
(import (scripts lib version))
6
6
7
+ ; ; Force releases from master branch
8
+ (if (> (system " if [ `git rev-parse --abbrev-ref HEAD` = \" master\" ]; then true; else false; fi" ) 0 )
9
+ (begin
10
+ (display " All releases must be from master, exiting..." )
11
+ (newline)
12
+ (exit-fail)))
13
+
7
14
; ; Assumes we are building using the target version of husk
8
15
(define *build-number* (get-husk-version))
9
16
29
36
" echo \"\" "
30
37
(string-append " echo \" (1) Build number has been updated in cabal file, we are using " *build-number* " \" " )
31
38
" echo \" (2) Change log is updated\" "
32
- ; ; TODO: can these next two be automated?
33
39
" echo \" (3) Release notes have been added to gh-pages\" "
34
- " echo \" (4) This is the master branch. All releases must be off of master!!\" "
35
40
" echo \"\" "
36
41
" echo \" Press Enter to continue\" ; read temp"
37
42
You can’t perform that action at this time.
0 commit comments