Skip to content

Commit

Permalink
Merge pull request #909 from hove-io/use_https
Browse files Browse the repository at this point in the history
[tech] Fetch some crates from github
  • Loading branch information
datanel authored Jun 23, 2023
2 parents 03ccd6c + e725943 commit a6c3512
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 7 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/auto-tagging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Auto-tagging major/minor version

on:
release:
types: [published]

jobs:
tag-major-minor:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Fetch existing tags
run: git fetch --tags
- name: Generate tag
run: |
export MAJOR_VERSION=$( echo "${GITHUB_REF_NAME}" | cut --delimiter '.' --fields=1 )
export MINOR_VERSION=$( echo "${GITHUB_REF_NAME}" | cut --delimiter '.' --fields=2 )
export MAJOR_TAG="${MAJOR_VERSION}"
echo "Creating tag '${MAJOR_TAG}' from '${GITHUB_REF_NAME}'"
git tag --force ${MAJOR_TAG} ${GITHUB_REF_NAME}
echo "Pushing new tag '${MAJOR_TAG}'"
export MINOR_TAG="${MAJOR_VERSION}.${MINOR_VERSION}"
echo "Creating tag '${MINOR_TAG}' from '${GITHUB_REF_NAME}'"
git tag --force ${MINOR_TAG} ${GITHUB_REF_NAME}
echo "Pushing new tag '${MINOR_TAG}'"
git push origin --force ${MAJOR_TAG} ${MINOR_TAG}
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["Hove <[email protected]>", "Guillaume Pinot <[email protected]>"]
name = "transit_model"
version = "0.56.1"
version = "0.57.0"
license = "AGPL-3.0-only"
description = "Transit data management"
repository = "https://github.com/hove-io/transit_model"
Expand Down Expand Up @@ -50,20 +50,20 @@ md5 = "0.7"
# do not upgrade to 'minidom:0.13.0' (too strict on namespaces and no XML comment support)
# https://github.com/hove-io/transit_model/pull/746
minidom = "0.12"
minidom_ext = "1"
minidom_writer = "1"
minidom_ext = { git = "https://github.com/hove-io/minidom_ext", tag="v1"}
minidom_writer = { git = "https://github.com/hove-io/minidom_writer", tag = "v1"}
num-traits = "0.2"
pretty_assertions = "1"
proj = { version = "0.25", optional = true } # libproj version used by 'proj' crate must be propagated to CI and makefile
relational_types = "2"
relational_types = { git = "https://github.com/hove-io/relational_types", tag = "v2"}
rust_decimal = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
skip_error = { version = "3.1", features = ["tracing"] }
skip_error = { git = "https://github.com/hove-io/skip_error", tag = "v3", features = ["tracing"]}
tempfile = "3"
thiserror = "1"
tracing = { version = "0.1", features = ["log"] }
typed_index_collection = "2"
typed_index_collection = { git = "https://github.com/hove-io/typed_index_collection", tag = "v2"}
walkdir = "2"
wkt = "0.10"
zip = { version = "0.6", default-features = false, features = ["deflate"] }
Expand Down
2 changes: 1 addition & 1 deletion model-builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ keywords = ["transit"]
# Swap the next two lines when publishing
# transit_model = "0.6"
transit_model = { path = "../" }
typed_index_collection = "2"
typed_index_collection = { git = "https://github.com/hove-io/typed_index_collection", tag = "v2"}

0 comments on commit a6c3512

Please sign in to comment.