mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2026-10-02 11:31:57 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23f10387c5 |
@@ -129,9 +129,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Rust
|
- name: Set up Rust
|
||||||
run: |
|
uses: dtolnay/rust-toolchain@stable
|
||||||
rustup toolchain install stable --profile minimal
|
|
||||||
rustup default stable
|
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cargo test
|
run: cargo test
|
||||||
@@ -252,6 +250,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sed -i -E "s/^version: .*/version: ${VERSION}/" pubspec.yaml
|
sed -i -E "s/^version: .*/version: ${VERSION}/" pubspec.yaml
|
||||||
sed -i -E "s#^publish_to: .*#publish_to: ${SERVER_URL}/api/packages/${OWNER}/pub#" pubspec.yaml
|
sed -i -E "s#^publish_to: .*#publish_to: ${SERVER_URL}/api/packages/${OWNER}/pub#" pubspec.yaml
|
||||||
|
if ! grep -q "^## ${VERSION}\$" CHANGELOG.md; then
|
||||||
|
{ head -n 1 CHANGELOG.md; printf '\n## %s\n\n- Release %s.\n' "$VERSION" "$VERSION"; tail -n +2 CHANGELOG.md; } > CHANGELOG.tmp
|
||||||
|
mv CHANGELOG.tmp CHANGELOG.md
|
||||||
|
fi
|
||||||
|
# pub warns about a dirty git tree; commit the stamped files locally (never pushed)
|
||||||
|
git -c user.name=ci -c user.email=ci@localhost commit -q -am "ci: stamp dart version ${VERSION}"
|
||||||
|
|
||||||
- name: Dry run
|
- name: Dry run
|
||||||
if: ${{ env.PUBLISH != 'true' }}
|
if: ${{ env.PUBLISH != 'true' }}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
name: resolvespec
|
name: resolvespec
|
||||||
description: Client for ResolveSpec (JSON body) and FunctionSpec endpoints.
|
description: Client for ResolveSpec (JSON body) and FunctionSpec endpoints.
|
||||||
version: 0.1.0
|
version: 0.1.0
|
||||||
|
repository: https://git.warky.dev/wdevs/ResolveSpec
|
||||||
publish_to: none
|
publish_to: none
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user