Skip to content

Commit e1d6301

Browse files
committed
Rename version to lp_version
1 parent 3587342 commit e1d6301

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/CI.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ jobs:
606606
shell: bash -e -l {0}
607607
run: |
608608
./build0.sh
609-
lpython_version=$(<version)
609+
lpython_version=$(<lp_version)
610610
ci/create_source_tarball.sh $lpython_version
611611
612612
- name: Upload Tarball to Release

CMakeLists.txt

+1-1
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 "lp_version" LFORTRAN_VERSION)
1111

1212
project(lpython LANGUAGES C CXX)
1313

ci/build.xsh

+1-1
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 lp_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

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cmake -E copy_directory cmake $dest/cmake
1111
cmake -E copy_directory examples $dest/examples
1212

1313
# Copy Files:
14-
cmake -E copy CMakeLists.txt README.md LICENSE version $dest
14+
cmake -E copy CMakeLists.txt README.md LICENSE lp_version $dest
1515

1616
# Create the tarball
1717
cmake -E make_directory dist

ci/version.sh

+1-1
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 > lp_version

0 commit comments

Comments
 (0)