navikt / bidrag-actions Goto Github PK
View Code? Open in Web Editor NEWGithub Actions for team bidrag
License: MIT License
Github Actions for team bidrag
License: MIT License
Når ting merges til master og det er angitt at releaseinnslag i README.md som ikke er tagget, kjør en git. tag
release-prepare-mvn-pkg/prepare-release.sh leser inn snapshot-versjon med innrykk.
Endre
RELEASE_VERSION=$(cat pom.xml | grep version | grep SNAPSHOT | \ sed 's/version//g' | sed 's/ //' | sed 's/-SNAPSHOT//' | sed 's;[</>];;g')
til
RELEASE_VERSION=$(cat pom.xml | grep version | grep SNAPSHOT | \ sed 's/version//g' | sed 's/ //' | sed 's/-SNAPSHOT//' | sed 's;[</>];;g' | xargs)
for å bli kvitt problemet
This only adds to confusion, because nothing is displayed in the log.
this will further the reading of the action and use the same naming standard as the other actions.
from file_is_release
to is_auto_release_file_name
from tag_file
to release_version_file_name
note.. fix up tag-and-commit/git.sh
for this change
The action verify-mvn-dependencies
which run the shell script verify.sh
will fail when the environment variable COUNT
(of SNAPSHOT) is greater than 0.
I would like to fail this script if any commands have an exit code not like 0, ie start the script with:
#!/bin/bash
set -e
However, this backfires because when the command grep -c
encounters 0 targets (i.e. do not find any SNAPSHOT dependencies) it fails with exit code 1.
This is the number which it should NOT fail with, so these are the actions for this enhancement:
#!/bin/bash
set -e
grep -c SNAPSHOT = 0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.