Skip to content

Commit 11545e1

Browse files
committed
Merge branch 'master' into replace_deprecated
2 parents 7fda4cc + ac295cb commit 11545e1

34 files changed

+1377
-482
lines changed

.github/workflows/deployment.yml

+14-44
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- master
7+
- master-release
78
paths-ignore:
89
- 'docs/**'
910
- 'src/test/**'
@@ -42,24 +43,16 @@ jobs:
4243

4344
steps:
4445
- name: Checkout source
45-
uses: actions/checkout@v2-beta
46-
with:
47-
fetch-depth: 0
48-
- name: Fetch tags and master for GitVersion
49-
run: |
50-
git fetch --tags origin
51-
git rev-parse --verify master
52-
if (-not $?) {
53-
git branch --force --create-reflog master origin/master
54-
}
55-
shell: pwsh
46+
uses: actions/checkout@v2
47+
- name: Fetch all history for all tags and branches
48+
run: git fetch --prune --unshallow
5649
- name: Install GitVersion
57-
uses: gittools/actions/setup-gitversion@v0.3
50+
uses: gittools/actions/gitversion/setup@v0.9.1
5851
with:
59-
versionSpec: '5.1.2'
52+
versionSpec: '5.1.3'
6053
- name: Run GitVersion
6154
id: gitversion
62-
uses: gittools/actions/execute-gitversion@v0.3
55+
uses: gittools/actions/gitversion/execute@v0.9.1
6356
- name: Set up JDK
6457
uses: actions/setup-java@v1
6558
with:
@@ -113,24 +106,9 @@ jobs:
113106
- name: Package application image
114107
run: ${{ matrix.archivePortable }}
115108
shell: bash
116-
- name: Build snap (1) Setup snapcraft
117-
uses: jhenstridge/snapcraft-build-action@v1
118-
id: snapcraft
119-
if: matrix.displayName == 'linux'
120-
- name: Build snap (2) Run build
121-
run: |
122-
mv ${{ steps.snapcraft.outputs.snap }} build/distribution/
123-
if: matrix.displayName == 'linux'
124-
- name: Build snap (3) Upload snap
125-
if: matrix.displayName == 'linux' && github.ref == 'refs/heads/master'
126-
env:
127-
SNAPCRAFT_LOGIN_FILE: ${{ secrets.SNAPCRAFT_LOGIN_FILE }}
128-
run: |
129-
mkdir .snapcraft && echo ${SNAPCRAFT_LOGIN_FILE} | base64 --decode --ignore-garbage > .snapcraft/snapcraft.cfg
130-
snapcraft push build/distribution/jabref*.snap --release edge || true
131-
shell: bash
132109
- name: Rename files
133110
run: |
111+
get-childitem -Path build/distribution/*
134112
get-childitem -Path build/distribution/* | rename-item -NewName {$_.name -replace "${{ steps.gitversion.outputs.AssemblySemVer }}","${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}"}
135113
get-childitem -Path build/distribution/* | rename-item -NewName {$_.name -replace "portable","${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}-portable"}
136114
shell: pwsh
@@ -145,24 +123,16 @@ jobs:
145123
needs: [build]
146124
steps:
147125
- name: Checkout source
148-
uses: actions/checkout@v2-beta
149-
with:
150-
fetch-depth: 0
151-
- name: Fetch tags and master for GitVersion
152-
run: |
153-
git fetch --tags origin
154-
git rev-parse --verify master
155-
if (-not $?) {
156-
git branch --force --create-reflog master origin/master
157-
}
158-
shell: pwsh
126+
uses: actions/checkout@v2
127+
- name: Fetch all history for all tags and branches
128+
run: git fetch --prune --unshallow
159129
- name: Install GitVersion
160-
uses: gittools/actions/setup-gitversion@v0.3
130+
uses: gittools/actions/gitversion/setup@v0.9.1
161131
with:
162-
versionSpec: '5.1.2'
132+
versionSpec: '5.1.3'
163133
- name: Run GitVersion
164134
id: gitversion
165-
uses: gittools/actions/execute-gitversion@v0.3
135+
uses: gittools/actions/gitversion/execute@v0.9.1
166136
- name: Get linux binaries
167137
uses: actions/download-artifact@master
168138
with:

.github/workflows/snap.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Snap
2+
3+
on:
4+
schedule:
5+
# run on each day
6+
- cron: '33 4 * * *'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
name: Create snapcraft image
12+
13+
steps:
14+
- name: Checkout source
15+
uses: actions/checkout@v2
16+
# The image relies on https://builds.jabref.org/master/JabRef-5.0-portable_linux.tar.gz^
17+
# See snap/snapcraft.yml for details
18+
- name: Build snap (1) Run build
19+
uses: jhenstridge/snapcraft-build-action@v1
20+
id: snapcraft
21+
- name: Build snap (2) Upload snap
22+
uses: jhenstridge/snapcraft-publish-action@v1
23+
with:
24+
store_login: ${{ secrets.SNAPCRAFT_LOGIN_FILE }}
25+
snap: ${{ steps.snapcraft.outputs.snap }}
26+
release: edge

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ status.md
1111
# Install4J
1212
install4j6/
1313

14+
# JDK14 (see .github/deployment.yml for details)
15+
jdk-14/
16+
1417
# Python
1518
__pycache__/
1619

.mailmap

+2
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,5 @@ Michal Rican <michal.rican@gmail.com>
186186
Param Mittal <parammittal16@gmail.com>
187187
Victor Michelan <venanciuslm@gmail.com>
188188
P4trice <34972281+P4trice@users.noreply.github.com>
189+
Julien Bénard <50318255+Julien29121998@users.noreply.github.com>
190+
Alexsandro Lauber <alexlauber@outlook.com>

AUTHORS

+13
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ Daniel Svärd
7777
David Gleich
7878
David Méndez
7979
David Weitzman
80+
Dawid Motyka
8081
Dawid Owoc
8182
Deepak Kumar
8283
Dennis Tschechlov
@@ -112,6 +113,7 @@ ffffatgoose
112113
Florian Beetz
113114
Florian Straßer
114115
Foivos Christoulakis
116+
fpguy
115117
Francois Charette
116118
Frank Steimle
117119
frasca80
@@ -121,6 +123,7 @@ Galileo Sartor
121123
Geoffrey Taerim Kim
122124
Gert Renckens
123125
Gregor Herrmann
126+
guenesaydin
124127
Guillaume Gardey
125128
Hakan Duran
126129
Hannes Restel
@@ -141,6 +144,7 @@ Jeff Miller
141144
Jeffrey Kuhn
142145
Jeffrey Sander
143146
Jens Döcke
147+
joeyzgraggen
144148
Johannes Hupe
145149
Johannes Manner
146150
John David
@@ -153,6 +157,7 @@ josephshin93
153157
Joshua Ramon Enslin
154158
José Jesús Sinohui Fernández
155159
Julian Pfeifer
160+
Julien Bénard
156161
Jure Slak
157162
József Pallagi
158163
Jörg Lenhard
@@ -182,7 +187,9 @@ Li Zhilin
182187
Ling Wang
183188
Linus Dietz
184189
Lorenzo Genta
190+
Lucas Beretti
185191
Luciana de Melo e Abud
192+
Lugduni Desrosiers
186193
Luis Romero
187194
Mairieli Wessel
188195
Malik Atalla
@@ -203,6 +210,7 @@ Mattia Bunel
203210
Mattias Ulbrich
204211
mcmoody
205212
Meltem Demirköprü
213+
MhhhxX
206214
Michael Beckmann
207215
Michael Falkenthal
208216
Michael Lass
@@ -230,10 +238,12 @@ Nico Schlömer
230238
Nicolas Pavillon
231239
Nikita Borovikov
232240
nikmilpv
241+
NikodemKch
233242
Niv Ierushalmi
234243
Nivedha Sunderraj
235244
Nizar N. Batada
236245
noravanq
246+
obsluk00
237247
Olaf Lenz
238248
Oliver Beckmann
239249
Oliver Kopp
@@ -304,6 +314,7 @@ Sven Jäger
304314
systemoperator
305315
Thiago Toledo
306316
Thomas Arildsen
317+
Thomas F. Duellmann
307318
Thomas Ilsche
308319
Thorsten Dahlheimer
309320
Tim Kilian
@@ -313,6 +324,7 @@ Tobias Boceck
313324
Tobias Bouschen
314325
Tobias Denkinger
315326
Tobias Diez
327+
Tomás Morales de Luna
316328
Tony K
317329
Toralf Senger
318330
uid112001
@@ -321,6 +333,7 @@ Ulrik Stervbo
321333
UltimaBGD
322334
Uwe Kuehn
323335
Valentin Pons
336+
Venceslas Roullier
324337
Victor Figueira
325338
Victor Michelan
326339
Vincent W. Yang

0 commit comments

Comments
 (0)