Skip to content

Commit

Permalink
Make sure bebopc is included in package
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiekat committed Aug 31, 2021
1 parent 5c46364 commit af32116
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION=2.3.0-alpha
VERSION=2.3.0-alpha.2
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ jobs:
run: |
sed 's/^version \?= \?.*/version = "${{ steps.dotenv.outputs.version }}"/' Cargo.toml > tmp
mv tmp Cargo.toml
rm -rf bebopc
cp -R ../bebopc ./
cargo package --allow-dirty
- name: Upload Cargo Tools
Expand Down Expand Up @@ -339,6 +341,8 @@ jobs:
run: |
sed 's/^version \?= \?.*/version = "${{ steps.dotenv.outputs.version }}"/' Cargo.toml > tmp
mv tmp Cargo.toml
rm -rf bebopc
cp -R ../bebopc ./
cargo publish --allow-dirty
working-directory: ${{env.TOOLS_ROOT}}/cargo

Expand Down
9 changes: 0 additions & 9 deletions Tools/cargo/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions Tools/cargo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Note: for packaging, make sure bebopc directory is moved into the local directory first!

[package]
name = "bebop-tools"
version = "0.1.0"
Expand All @@ -14,6 +16,3 @@ include = ["/bebopc", "/src"]
[lib]

[dependencies]

[build-dependencies]
fs_extra = "1.2.0"
15 changes: 0 additions & 15 deletions Tools/cargo/build.rs

This file was deleted.

0 comments on commit af32116

Please sign in to comment.