mirror of
https://github.com/coder/code-server.git
synced 2026-06-03 10:59:33 +00:00
Compare commits
1 Commits
main
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f47487fbb |
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@@ -163,7 +163,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: sudo apt update && sudo apt install -y libkrb5-dev
|
- run: sudo apt update && sudo apt install -y libkrb5-dev
|
||||||
- uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
|
- uses: awalsh128/cache-apt-pkgs-action@acb598e5ddbc6f68a970c5da0688d2f3a9f04d05 # latest
|
||||||
with:
|
with:
|
||||||
packages: quilt
|
packages: quilt
|
||||||
version: 1.0
|
version: 1.0
|
||||||
|
|||||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -62,7 +62,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: sudo apt update && sudo apt install -y libkrb5-dev
|
- run: sudo apt update && sudo apt install -y libkrb5-dev
|
||||||
- uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
|
- uses: awalsh128/cache-apt-pkgs-action@acb598e5ddbc6f68a970c5da0688d2f3a9f04d05 # latest
|
||||||
with:
|
with:
|
||||||
packages: quilt
|
packages: quilt
|
||||||
version: 1.0
|
version: 1.0
|
||||||
|
|||||||
2
.github/workflows/update.yaml
vendored
2
.github/workflows/update.yaml
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
echo done=false >> $GITHUB_OUTPUT
|
echo done=false >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # latest
|
- uses: awalsh128/cache-apt-pkgs-action@acb598e5ddbc6f68a970c5da0688d2f3a9f04d05 # latest
|
||||||
if: steps.check.outputs.done == 'false'
|
if: steps.check.outputs.done == 'false'
|
||||||
with:
|
with:
|
||||||
packages: quilt
|
packages: quilt
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ Code v99.99.999
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
## [4.122.1](https://github.com/coder/code-server/releases/tag/v4.122.1) - 2026-06-02
|
|
||||||
|
|
||||||
Code v1.122.1
|
Code v1.122.1
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -2,65 +2,16 @@
|
|||||||
|
|
||||||
set -Eeuo pipefail
|
set -Eeuo pipefail
|
||||||
|
|
||||||
# Given versions $1 and $2 figure out the first component that is different
|
|
||||||
# (major, minor, patch).
|
|
||||||
function find_version_diff() {
|
|
||||||
# shellcheck disable=SC2206
|
|
||||||
local a=( ${1//./ } )
|
|
||||||
# shellcheck disable=SC2206
|
|
||||||
local b=( ${2//./ } )
|
|
||||||
|
|
||||||
if [[ ${a[0]} != "${b[0]}" ]] ; then
|
|
||||||
echo major
|
|
||||||
elif [[ ${a[1]} != "${b[1]}" ]] ; then
|
|
||||||
echo minor
|
|
||||||
else
|
|
||||||
echo patch
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Bump $1 by the bump type (major, minor, patch) in $2.
|
|
||||||
function bump_version() {
|
|
||||||
# shellcheck disable=SC2206
|
|
||||||
local a=( ${1//./ } )
|
|
||||||
case $2 in
|
|
||||||
major)
|
|
||||||
((a[0]++))
|
|
||||||
a[1]=0
|
|
||||||
a[2]=0
|
|
||||||
;;
|
|
||||||
minor)
|
|
||||||
((a[1]++))
|
|
||||||
a[2]=0
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
((a[2]++))
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
echo "${a[0]}.${a[1]}.${a[2]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
function update_helm() {
|
function update_helm() {
|
||||||
local chart_version
|
local current
|
||||||
chart_version=$(yq .version ci/helm-chart/Chart.yaml)
|
current=$(yq .version ci/helm-chart/Chart.yaml)
|
||||||
local app_version
|
local next
|
||||||
app_version=$(yq .appVersion ci/helm-chart/Chart.yaml)
|
next=$(semver "$current" -i minor)
|
||||||
local image_version
|
echo "Bumping version from $current to $next..."
|
||||||
image_version=$(yq .image.tag ci/helm-chart/values.yaml)
|
sed -i.bak "s/^version: $current\$/version: $next/" ci/helm-chart/Chart.yaml
|
||||||
|
|
||||||
local bump_type
|
echo "Setting app version and image to $version..."
|
||||||
bump_type=$(find_version_diff "$app_version" "$version")
|
|
||||||
local chart_version_bump
|
|
||||||
chart_version_bump=$(bump_version "$chart_version" "$bump_type")
|
|
||||||
|
|
||||||
# Use sed to replace because yq will reformat.
|
|
||||||
echo "Bumping version from $chart_version to $chart_version_bump..."
|
|
||||||
sed -i.bak "s/^version: $chart_version\$/version: $chart_version_bump/" ci/helm-chart/Chart.yaml
|
|
||||||
|
|
||||||
echo "Bumping app version from $app_version to $version..."
|
|
||||||
sed -i.bak "s/^appVersion: .\+\$/appVersion: $version/" ci/helm-chart/Chart.yaml
|
sed -i.bak "s/^appVersion: .\+\$/appVersion: $version/" ci/helm-chart/Chart.yaml
|
||||||
|
|
||||||
echo "Bumping image version from $image_version to $version..."
|
|
||||||
sed -i.bak "s/^ tag: .\+\$/ tag: '$version'/" ci/helm-chart/values.yaml
|
sed -i.bak "s/^ tag: .\+\$/ tag: '$version'/" ci/helm-chart/values.yaml
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ type: application
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 3.37.1
|
version: 3.37.0
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
appVersion: 4.122.1
|
appVersion: 4.122.0
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: codercom/code-server
|
repository: codercom/code-server
|
||||||
tag: '4.122.1'
|
tag: '4.122.0'
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
||||||
# Specifies one or more secrets to be used when pulling images from a
|
# Specifies one or more secrets to be used when pulling images from a
|
||||||
|
|||||||
Reference in New Issue
Block a user