mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
Removing control files and updating the updateVersion.sh
This commit is contained in:
parent
e1f6d2593d
commit
e24a1456b4
7 changed files with 0 additions and 92 deletions
|
|
@ -1,12 +0,0 @@
|
|||
Source: bor
|
||||
Version: 1.5.2
|
||||
Section: develop
|
||||
Priority: standard
|
||||
Maintainer: Polygon <release-team@polygon.technology>
|
||||
Build-Depends: debhelper-compat (= 13)
|
||||
Package: bor
|
||||
Rules-Requires-Root: yes
|
||||
Architecture: amd64
|
||||
Multi-Arch: foreign
|
||||
Depends:
|
||||
Description: This is the bor package from Polygon Technology.
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
Source: bor
|
||||
Version: 1.5.2
|
||||
Section: develop
|
||||
Priority: standard
|
||||
Maintainer: Polygon <release-team@polygon.technology>
|
||||
Build-Depends: debhelper-compat (= 13)
|
||||
Rules-Requires-Root: yes
|
||||
Package: bor
|
||||
Architecture: arm64
|
||||
Multi-Arch: foreign
|
||||
Depends:
|
||||
Description: This is the bor package from Polygon Technology.
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
Source: bor-profile
|
||||
Version: 1.5.2
|
||||
Section: develop
|
||||
Priority: standard
|
||||
Maintainer: Polygon <release-team@polygon.technology>
|
||||
Build-Depends: debhelper-compat (= 13)
|
||||
Rules-Requires-Root: yes
|
||||
Package: bor-profile
|
||||
Architecture: amd64
|
||||
Multi-Arch: foreign
|
||||
Depends:
|
||||
Description: This is the bor package from Polygon Technology.
|
||||
|
||||
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
Source: bor-profile
|
||||
Version: 1.5.2
|
||||
Section: develop
|
||||
Priority: standard
|
||||
Maintainer: Polygon <release-team@polygon.technology>
|
||||
Build-Depends: debhelper-compat (= 13)
|
||||
Rules-Requires-Root: yes
|
||||
Package: bor-profile
|
||||
Architecture: arm64
|
||||
Multi-Arch: foreign
|
||||
Depends:
|
||||
Description: This is the bor package from Polygon Technology.
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
Source: bor-profile
|
||||
Version: 1.5.2
|
||||
Section: develop
|
||||
Priority: standard
|
||||
Maintainer: Polygon <release-team@polygon.technology>
|
||||
Build-Depends: debhelper-compat (= 13)
|
||||
Package: bor-profile
|
||||
Rules-Requires-Root: yes
|
||||
Architecture: amd64
|
||||
Multi-Arch: foreign
|
||||
Depends:
|
||||
Description: This is the bor package from Polygon Technology.
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
Source: bor-profile
|
||||
Version: 1.5.2
|
||||
Section: develop
|
||||
Priority: standard
|
||||
Maintainer: Polygon <release-team@polygon.technology>
|
||||
Build-Depends: debhelper-compat (= 13)
|
||||
Rules-Requires-Root: yes
|
||||
Package: bor-profile
|
||||
Architecture: arm64
|
||||
Multi-Arch: foreign
|
||||
Depends:
|
||||
Description: This is the bor package from Polygon Technology.
|
||||
|
||||
|
|
@ -51,22 +51,6 @@ fi
|
|||
echo ""
|
||||
echo "New version is: $version"
|
||||
|
||||
# update version in all the 6 templates
|
||||
replace="Version: "$version
|
||||
fileArray=(
|
||||
"${DIR}/../packaging/templates/package_scripts/control"
|
||||
"${DIR}/../packaging/templates/package_scripts/control.arm64"
|
||||
"${DIR}/../packaging/templates/package_scripts/control.profile.amd64"
|
||||
"${DIR}/../packaging/templates/package_scripts/control.profile.arm64"
|
||||
"${DIR}/../packaging/templates/package_scripts/control.validator"
|
||||
"${DIR}/../packaging/templates/package_scripts/control.validator.arm64"
|
||||
)
|
||||
for file in ${fileArray[@]}; do
|
||||
# get the line starting with `Version` in the control file and store it in the $temp variable
|
||||
temp=$(grep "^Version.*" $file)
|
||||
sed -i '' "s%$temp%$replace%" $file
|
||||
done
|
||||
|
||||
# update version in ../params/version.go
|
||||
versionFile="${DIR}/../params/version.go"
|
||||
sed -i '' "s% = .*// Major% = $VersionMajor // Major%g" $versionFile
|
||||
|
|
|
|||
Loading…
Reference in a new issue