Skip to content

Commit

Permalink
Merge 874822f into 389da44
Browse files Browse the repository at this point in the history
  • Loading branch information
dexter2206 committed Feb 20, 2022
2 parents 389da44 + 874822f commit abb2fa9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release package
on: workflow_dispatch


jobs:
release:
steps:
- name: Generate changelog
id: changelog
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
git-message: 'chore(release): {version}'
tag-prefix: 'v'
output-file: 'changelog.md'
release-count: '1000'
version-file: './Project.toml' // or .yml, .yaml, .toml
version-path: 'version'
- name: Register version
uses: julia-actions/RegisterAction@latest
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ steps.changelog.version }}
8 changes: 2 additions & 6 deletions src/LabelledGraphs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,11 @@ module LabelledGraphs
set_props!(lg, src(e), dst(e), dict)
end

function MetaGraphs.set_props!(
lg::LabelledGraph{S, T}, dict
) where {S <: AbstractMetaGraph, T}
function MetaGraphs.set_props!(lg::LabelledGraph{S, T}, dict) where {S <: AbstractMetaGraph, T}
set_props!(lg.inner_graph, dict)
end

function MetaGraphs.props(
lg::LabelledGraph{S, T}, v::T
) where {S <: AbstractMetaGraph, T}
function MetaGraphs.props(lg::LabelledGraph{S, T}, v::T) where {S <: AbstractMetaGraph, T}
props(lg.inner_graph, lg.reverse_label_map[v])
end

Expand Down

0 comments on commit abb2fa9

Please sign in to comment.