From bdc733e861f35690e37fecc58c152ce9920530b6 Mon Sep 17 00:00:00 2001 From: Rongxin Liu Date: Sat, 29 Apr 2023 00:13:28 -0400 Subject: [PATCH 1/4] updated releases, version, and year --- .github/workflows/main.yml | 4 ++-- Makefile | 2 +- src/cs50.c | 4 ++-- src/cs50.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dc70bf9..06e35f3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,13 +46,13 @@ jobs: PACKAGECLOUD_REPO="cs50/repo" # Deploy deb to ubuntu repos - UBUNTU_REPOS=( xenial yakkety zesty artful bionic cosmic disco eoan focal groovy hirsute impish jammy ) + UBUNTU_REPOS=( xenial yakkety zesty artful bionic cosmic disco eoan focal groovy hirsute impish jammy lunar ) for repo in "${UBUNTU_REPOS[@]}"; do package_cloud push "$PACKAGECLOUD_REPO"/ubuntu/"$repo" ${PWD}/artifacts/*.deb done # Deploy rpm to fedora repos - for repo in $(seq 28 36); do + for repo in $(seq 28 39); do package_cloud push "$PACKAGECLOUD_REPO"/fedora/"$repo" ${PWD}/artifacts/*.rpm done env: diff --git a/Makefile b/Makefile index f809bf4..cf35541 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION := 11.0.1 +VERSION := 12.0.0 MAJOR_VERSION := $(shell echo $(VERSION) | cut -d'.' -f1) # installation directory (/usr/local by default) diff --git a/src/cs50.c b/src/cs50.c index 0dd12b9..728fbfa 100644 --- a/src/cs50.c +++ b/src/cs50.c @@ -4,7 +4,7 @@ * * Based on Eric Roberts' genlib.c and simpio.c. * - * Copyright (c) 2022 + * Copyright (c) 2023 * All rights reserved * * BSD 3-Clause License @@ -52,7 +52,7 @@ #include "cs50.h" -// Disable warnings from some compilers about the way we use variadic arguments +// Disable warnings from some compilers about the way we use variadic arguments #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wformat-security" diff --git a/src/cs50.h b/src/cs50.h index 5589d1a..fc58db5 100644 --- a/src/cs50.h +++ b/src/cs50.h @@ -4,7 +4,7 @@ * * Based on Eric Roberts' genlib.c and simpio.c. * - * Copyright (c) 2022 + * Copyright (c) 2023 * All rights reserved * * BSD 3-Clause License From d95cde63133fb894f77151df673e641979c01d8f Mon Sep 17 00:00:00 2001 From: Rongxin Liu Date: Sat, 29 Apr 2023 00:18:28 -0400 Subject: [PATCH 2/4] added kinetic distro --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 06e35f3..85ec10f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,7 +46,7 @@ jobs: PACKAGECLOUD_REPO="cs50/repo" # Deploy deb to ubuntu repos - UBUNTU_REPOS=( xenial yakkety zesty artful bionic cosmic disco eoan focal groovy hirsute impish jammy lunar ) + UBUNTU_REPOS=( xenial yakkety zesty artful bionic cosmic disco eoan focal groovy hirsute impish jammy kinetic lunar ) for repo in "${UBUNTU_REPOS[@]}"; do package_cloud push "$PACKAGECLOUD_REPO"/ubuntu/"$repo" ${PWD}/artifacts/*.deb done From 3e42b8736e18b1e70fc1eb55c31f14c7054bf595 Mon Sep 17 00:00:00 2001 From: Rongxin Liu Date: Sat, 29 Apr 2023 00:35:24 -0400 Subject: [PATCH 3/4] match arm64v8 version with github runner --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 85ec10f..a61734d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: --volume "${PWD}/artifacts:/artifacts" \ --volume "${GITHUB_WORKSPACE}:${GITHUB_WORKSPACE}" \ --workdir "${GITHUB_WORKSPACE}" \ - arm64v8/ubuntu:20.04 \ + arm64v8/ubuntu:22.04 \ /bin/bash -c \ "apt-get update && \ apt-get -qq install -y build-essential gem rpm ruby-full && \ From bf29ed74df39f719d21c9cdd0f1594db16a34fbd Mon Sep 17 00:00:00 2001 From: Rongxin Liu <10591665+rongxin-liu@users.noreply.github.com> Date: Sat, 29 Apr 2023 11:06:11 -0400 Subject: [PATCH 4/4] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cf35541..7662dac 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION := 12.0.0 +VERSION := 11.0.2 MAJOR_VERSION := $(shell echo $(VERSION) | cut -d'.' -f1) # installation directory (/usr/local by default)