File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 build :
1111 runs-on : ubuntu-latest
1212 steps :
13+ - name : Install Utils
14+ run : sudo apt-get install -y bsdmainutils
15+
1316 - uses : actions/checkout@v3
17+ with :
18+ fetch-depth : 0
1419
1520 - name : Set up Ruby
1621 uses : ruby/setup-ruby@v1
2025
2126 - name : Build Book
2227 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 1010 release :
1111 runs-on : ubuntu-latest
1212 steps :
13+ - name : Install Utils
14+ run : sudo apt-get install -y bsdmainutils
15+
1316 - uses : actions/checkout@v3
1417 with :
1518 fetch-depth : 0
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace :book do
1010
1111 def generate_contributors_list ( column_size )
1212 # 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`
1414 end
1515
1616 def download_locale ( locale_file )
You can’t perform that action at this time.
0 commit comments