Skip to content

Commit b2997cd

Browse files
authored
Merge pull request #14 from rtk-rs/lib_update
Release new version
2 parents 1e1ac1a + b230fef commit b2997cd

File tree

4 files changed

+58
-25
lines changed

4 files changed

+58
-25
lines changed

.github/workflows/release.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
publish:
13+
name: Publish
14+
runs-on: ubuntu-latest
15+
continue-on-error: true
16+
if: github.ref_type == 'tag'
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Install stable
22+
uses: actions-rs/toolchain@v1
23+
with:
24+
toolchain: stable
25+
26+
- name: Publish
27+
env:
28+
TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
29+
run: |
30+
cargo login $TOKEN
31+
cargo publish --allow-dirty
32+
33+
release:
34+
runs-on: ubuntu-latest
35+
needs: ['publish']
36+
steps:
37+
- name: Create Release
38+
id: create_release
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
uses: actions/create-release@v1
42+
with:
43+
draft: true
44+
tag_name: ${{ github.ref_name }}
45+
release_name: ${{ github.ref_name }}

.github/workflows/rust.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,3 @@ jobs:
4040

4141
- name: Run tests
4242
run: cargo test --all-features
43-
44-
release:
45-
name: Release
46-
runs-on: ubuntu-latest
47-
needs: ['build']
48-
if: github.ref_type == 'tag'
49-
steps:
50-
- name: Checkout
51-
uses: actions/checkout@v4
52-
with:
53-
submodules: recursive
54-
fetch-depth: 0
55-
56-
- name: Install stable toolchain
57-
uses: dtolnay/rust-toolchain@master
58-
with:
59-
toolchain: stable
60-
61-
- name: Publish
62-
env:
63-
TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
64-
run: |
65-
cargo login $TOKEN
66-
cargo publish --allow-dirty

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ maud = "0.26"
4747
plotly = "0.12"
4848

4949
sp3 = { version = "1.1.2", features = ["qc", "processing", "anise", "serde"], optional = true }
50-
rinex = { git = "https://github.com/rtk-rs/rinex", branch = "main", features = ["qc", "processing", "obs", "clock", "nav", "ionex", "serde"] }
50+
rinex = { version = "0.17.0", features = ["qc", "processing", "obs", "clock", "nav", "ionex", "serde"] }
5151

5252
[dev-dependencies]
5353
serde_json = "1"

src/lib.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
#![doc = include_str!("../README.md")]
33
#![cfg_attr(docsrs, feature(doc_cfg))]
44

5+
/*
6+
* GNSS-Qc is part of the rtk-rs framework.
7+
* Authors: Guillaume W. Bres <[email protected]> et al.
8+
* (cf. https://github.com/rtk-rs/gnss-qc/graphs/contributors)
9+
* This framework is shipped under Mozilla Public V2 license.
10+
*
11+
* Documentation:
12+
* - https://github.com/rtk-rs/gnss-qc
13+
* - https://github.com/rtk-rs/rinex
14+
* - https://github.com/rtk-rs/sp3
15+
*/
16+
517
#[macro_use]
618
extern crate log;
719

0 commit comments

Comments
 (0)