File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 10
10
build :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
+ - name : Install Utils
14
+ run : sudo apt-get install -y bsdmainutils
15
+
13
16
- uses : actions/checkout@v3
17
+ with :
18
+ fetch-depth : 0
14
19
15
20
- name : Set up Ruby
16
21
uses : ruby/setup-ruby@v1
20
25
21
26
- name : Build Book
22
27
run : bundle exec rake book:build
28
+
29
+ - name : ' Upload Artifact'
30
+ uses : actions/upload-artifact@v3
31
+ with :
32
+ name : contributors.txt
33
+ path : book/contributors.txt
34
+ retention-days : 5
Original file line number Diff line number Diff line change 10
10
release :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
+ - name : Install Utils
14
+ run : sudo apt-get install -y bsdmainutils
15
+
13
16
- uses : actions/checkout@v3
14
17
with :
15
18
fetch-depth : 0
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace :book do
10
10
11
11
def generate_contributors_list ( column_size )
12
12
# Generating preformatted contributors list...
13
- `git shortlog -s | grep -v -E "(Straub|Chacon|dependabot)" | cut -f 2- | column -c #{ column_size } > book/contributors.txt`
13
+ `git shortlog -s HEAD | grep -v -E "(Straub|Chacon|dependabot)" | cut -f 2- | column -c #{ column_size } > book/contributors.txt`
14
14
end
15
15
16
16
def download_locale ( locale_file )
You can’t perform that action at this time.
0 commit comments