You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [ -z"$LAUNCHPAD_KEYID" ] || [ -z"$LAUNCHPAD_EMAIL" ]
65
+
then
66
+
echo"Error: Couldn't find variables \$LAUNCHPAD_KEYID or \$LAUNCHPAD_EMAIL in sourced file .release_ppa_auth (check top comment in $0 for more information)."
67
+
exit 2
68
+
fi
69
+
56
70
packagename=solc
57
71
58
-
static_build_distribution=impish
72
+
# This needs to be a still active release
73
+
static_build_distribution=focal
59
74
60
-
DISTRIBUTIONS="focal impish jammy kinetic"
75
+
DISTRIBUTIONS="focal jammy kinetic"
76
+
77
+
checkDputEntries () {
78
+
if! grep "${1}" /etc/dput.cf -q;then
79
+
echo"Error: Missing ${1} section in /etc/dput.cf (check top comment in ${0} for more information)."
80
+
exit 1
81
+
fi
82
+
}
61
83
62
84
if is_release
63
85
then
64
86
DISTRIBUTIONS="$DISTRIBUTIONS STATIC"
87
+
88
+
# Sanity checks
89
+
checkDputEntries "\[ethereum\]"
90
+
checkDputEntries "\[ethereum-static\]"
91
+
else
92
+
# Sanity check
93
+
checkDputEntries "\[ethereum-dev\]"
65
94
fi
66
95
67
96
fordistributionin$DISTRIBUTIONS
@@ -245,7 +274,7 @@ chmod +x debian/rules
245
274
246
275
versionsuffix=0ubuntu1~${distribution}
247
276
# bump version / add entry to changelog
248
-
EMAIL="$email" dch -v "1:${debversion}-${versionsuffix}""git build of ${commithash}"
277
+
EMAIL="$LAUNCHPAD_EMAIL" dch -v "1:${debversion}-${versionsuffix}""git build of ${commithash}"
0 commit comments