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
fail "Error: Couldn't find variables \$LAUNCHPAD_KEYID or \$LAUNCHPAD_EMAIL in sourced file .release_ppa_auth (check top comment in $0 for more information)."
74
+
56
75
packagename=solc
57
76
77
+
# This needs to be a still active release
58
78
static_build_distribution=impish
59
79
60
80
DISTRIBUTIONS="focal impish jammy kinetic"
61
81
82
+
functioncheckDputEntries {
83
+
local pattern="$1"
84
+
grep "${pattern}" /etc/dput.cf --quiet || \
85
+
fail "Error: Missing ${pattern//\\/} section in /etc/dput.cf (check top comment in ${0} for more information)."
86
+
}
87
+
62
88
if is_release
63
89
then
64
90
DISTRIBUTIONS="$DISTRIBUTIONS STATIC"
91
+
92
+
# Sanity checks
93
+
checkDputEntries "\[ethereum\]"
94
+
checkDputEntries "\[ethereum-static\]"
95
+
else
96
+
# Sanity check
97
+
checkDputEntries "\[ethereum-dev\]"
65
98
fi
66
99
67
100
fordistributionin$DISTRIBUTIONS
@@ -245,7 +278,7 @@ chmod +x debian/rules
245
278
246
279
versionsuffix=0ubuntu1~${distribution}
247
280
# bump version / add entry to changelog
248
-
EMAIL="$email" dch -v "1:${debversion}-${versionsuffix}""git build of ${commithash}"
281
+
EMAIL="$LAUNCHPAD_EMAIL" dch -v "1:${debversion}-${versionsuffix}""git build of ${commithash}"
0 commit comments