Skip to content

Commit

Permalink
prep release
Browse files Browse the repository at this point in the history
  • Loading branch information
Lommix committed Dec 3, 2024
1 parent 14abf5f commit a0307ea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion crates/bevy_hui_widgets/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
use bevy::app::Plugin;
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![allow(rustdoc::redundant_explicit_links)]
#![doc = include_str!("../README.md")]

use bevy::app::Plugin;
mod input;
mod select;
mod slider;
Expand Down
9 changes: 6 additions & 3 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#! /bin/bash
tmp=$(mktemp -d)

echo "$tmp"

cp -r crates/bevy_hui/* "$tmp"/.
cp -r LICENSE-MIT LICENSE-APACHE README.md "$tmp"/.
sed -i 's|"../../../README.md"|"../README.md"|g' "$tmp"/src/lib.rs
cd $tmp && cargo publish
rm -rf "$tmp"


tmp=$(mktemp -d)
cp -r crates/bevy_hui_widgets/* "$tmp"/.
cp -r LICENSE-MIT LICENSE-APACHE "$tmp"/.
cd $tmp && cargo publish
rm -rf "$tmp"

0 comments on commit a0307ea

Please sign in to comment.