Skip to content

Commit 17cc9c4

Browse files
committed
Rename version to lpython_version
1 parent 6d6270d commit 17cc9c4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (LPYTHON_BUILD_ALL)
77
execute_process(COMMAND "build0.sh")
88
endif()
99

10-
file(STRINGS "version" LFORTRAN_VERSION)
10+
file(STRINGS "lpython_version" LFORTRAN_VERSION)
1111

1212
project(lpython LANGUAGES C CXX)
1313

ci/build.xsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ python lfortran/src/libasr/intrinsic_func_registry_util_gen.py
4141
pushd src/lpython/parser && re2c -W -b tokenizer.re -o tokenizer.cpp && popd
4242
pushd src/lpython/parser && bison -Wall -d -r all parser.yy && popd
4343

44-
$lpython_version=$(cat version).strip()
44+
$lpython_version=$(cat lpython_version).strip()
4545
$dest="lpython-" + $lpython_version
4646
bash ci/create_source_tarball0.sh
4747
tar xzf dist/lpython-$lpython_version.tar.gz

ci/create_source_tarball0.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cmake -E copy_directory examples $dest/examples
1212
cmake -E copy_directory lfortran/src/libasr $dest/lfortran/src/libasr
1313

1414
# Copy Files:
15-
cmake -E copy CMakeLists.txt README.md LICENSE version $dest
15+
cmake -E copy CMakeLists.txt README.md LICENSE lpython_version $dest
1616

1717
# Create the tarball
1818
cmake -E make_directory dist

ci/version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ set -ex
1515

1616
version=$(git describe --tags --dirty)
1717
version="${version:1}"
18-
echo $version > version
18+
echo $version > lpython_version

0 commit comments

Comments
 (0)