Skip to content

Commit

Permalink
Merge pull request #10 from AlexanderWollbrink/staging
Browse files Browse the repository at this point in the history
adding Semantic Release
  • Loading branch information
AlexanderWollbrink authored Nov 9, 2023
2 parents 8b4f974 + eea3add commit aa137eb
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 10 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/versioning-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Versioning-workflow
on:
push:
branches:
- main
- staging
- development


permissions:
contents: read # for checkout

jobs:
release:
name: Versioning
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Install dependencies
run: npm clean-install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
6 changes: 2 additions & 4 deletions .releaserc.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
{
"branches": ["main", "development"],
"branches": ["main", {"name": "development", "prerelease": true}, {"name": "staging", "prerelease": true}],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/npm", {
"npmPublish": false
}],
["@semantic-release/gitlab", {
"gitlabUrl": "https://gitlab.cc-asp.fraunhofer.de/"
}],
["@semantic-release/github"],
["@semantic-release/git", {
"assets": ["package.json"],
"message": "chore(Release): ${nextRelease.version}\n\n${nextRelease.notes}"
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards
## Our Standardsbnm,

Examples of behavior that contributes to a positive environment for our
community include:
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
# AASPortal [![Documentation Status](https://readthedocs.org/projects/aasportal/badge/?version=latest "Documentation Status")](https://aasportal.readthedocs.io/en/latest/?badge=latest)

![AASPortal Logo <](./docs/source/images/AASPortal_mid.png "AASPortal Logo")

**AASPortal** is a Node.js based web portal for the visualization and management of Asset Administration Shells (AAS). The implementation uses the concepts of the document "Details of the Asset Administration Shell" published on https://www.plattform-i40.de and licensed under Creative Commons CC BY 4.0.

Check out the [Getting Started](./docs/source/gettingstarted.md) section to learn how to setup Visual Studio Code and start using and developing the *AASPortal*. Learn more about the [Architecture](./docs/source/architecture.md) of *AASPortal*, and check out the [Usage](./docs/source/usage.md) section to learn about available search filters for AAS and which Endpoints can be connected to the *AASPortal*.

For more details about the AASPortal see the full documentation :blue_book: [here](https://aasportal.readthedocs.io/en/latest/?badge=latest).

**AASPortal is under active development and we are looking forward to your active contributions!**

## Prerequisites
- Visual Studio Code
- Node.js v18.10.0
- GIT 2.36.0.windows.1
- GIT 2.36.0.windows
- Docker Desktop 4.x

## Getting Started
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"repository": {
"type": "git",
"url": "https://gitlab.cc-asp.fraunhofer.de/iosb-ina-big-data-plattformen/aasportal.git"
"url": "https://github.com/AlexanderWollbrink/AASPortal_pipeline.git"
},
"author": "Fraunhofer IOSB-INA",
"homepage": "https://www.iosb-ina.fraunhofer.de/",
Expand Down

0 comments on commit aa137eb

Please sign in to comment.