Removing control files and updating the updateVersion.sh

This commit is contained in:
Daniel Jones 2024-12-11 16:23:56 -06:00
parent e1f6d2593d
commit e24a1456b4
No known key found for this signature in database
GPG key ID: 20DF8333A8033CE2
7 changed files with 0 additions and 92 deletions

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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