Skip to content

Commit c9d53ee

Browse files
fix(ci): replace mathy/mathy_alpha_sm readmes during build
- copy in the readme from the repository root
1 parent 64ae280 commit c9d53ee

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22
set -e
33
. .env/bin/activate
4+
echo "Replacing package readme with root..."
5+
cp ../../README.md ./
46
echo "Build python package..."
57
python setup.py sdist bdist_wheel

libraries/mathy_python/README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
Mathtastic
2-
---
1+
## Placeholder
32

4-
5-
# Development
6-
7-
- run scripts in `ci` folder from the root
8-
- `./tools/setup.sh
9-
10-
. . .
3+
This file is replaced during the CI build with the readme from the root of the repository.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/bin/bash
22
set -e
33
. .env/bin/activate
4+
5+
echo "Replacing package readme with root..."
6+
cp ../../README.md ./
7+
48
echo "Build python package..."
59
python setup.py sdist bdist_wheel

0 commit comments

Comments
 (0)