Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fixup version files/symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Feb 10, 2021
1 parent c16651c commit 043d3ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/pkgs/sagelib/src/VERSION.txt
4 changes: 2 additions & 2 deletions src/bin/sage-update-version
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ SAGE_VERSION=`echo "$1" | sed 's/^sage-//'`
SAGE_RELEASE_DATE=`date -u +'%Y-%m-%d'`
SAGE_VERSION_BANNER="SageMath version $SAGE_VERSION, Release Date: $SAGE_RELEASE_DATE"

echo $SAGE_VERSION | tee "$SAGE_SRC/bin/VERSION.txt" > "$SAGE_ROOT/build/pkgs/sagelib/package-version.txt"
echo $SAGE_VERSION | tee "$SAGE_SRC/VERSION.txt" > "$SAGE_ROOT/build/pkgs/sagelib/package-version.txt"

# Update Sage version file for Python in SAGE_SRC/sage
cat <<EOF > "$SAGE_SRC/sage/version.py"
Expand Down Expand Up @@ -72,7 +72,7 @@ git commit -m "Updated SageMath version to $SAGE_VERSION" -- \
"$SAGE_ROOT/VERSION.txt" \
"$SAGE_ROOT/.zenodo.json" \
"$SAGE_SRC/sage/version.py" \
"$SAGE_SRC/bin/VERSION.txt" \
"$SAGE_SRC/VERSION.txt" \
"$SAGE_SRC/bin/sage-version.sh" \
"$SAGE_ROOT/build/pkgs/configure/checksums.ini" \
"$SAGE_ROOT/build/pkgs/configure/package-version.txt" \
Expand Down

0 comments on commit 043d3ab

Please sign in to comment.